Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 1476560 Details for
Bug 1614315
Traceback when managing case bugs of JIRA type
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
Add Jira type to nitrate.Bug
0001-Bug-Add-Jira-type-bz-1614315.patch (text/plain), 1.17 KB, created by
Lukáš Zachar
on 2018-08-17 06:32:37 UTC
(
hide
)
Description:
Add Jira type to nitrate.Bug
Filename:
MIME Type:
Creator:
Lukáš Zachar
Created:
2018-08-17 06:32:37 UTC
Size:
1.17 KB
patch
obsolete
>From dada62672aecade914d983417d80a8e5fd0c5a4d Mon Sep 17 00:00:00 2001 >From: Lukas Zachar <lzachar@redhat.com> >Date: Fri, 17 Aug 2018 08:24:07 +0200 >Subject: [PATCH] Bug: Add Jira type [bz#1614315] > >--- > source/immutable.py | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/source/immutable.py b/source/immutable.py >index 5ddacaa..6ded95e 100644 >--- a/source/immutable.py >+++ b/source/immutable.py >@@ -1146,7 +1146,7 @@ class Bug(Nitrate): > _attributes = ["bug", "system", "testcase", "caserun"] > > # Prefixes for bug systems, identifier width >- _prefixes = {1: "BZ"} >+ _prefixes = {1: "BZ", 2:"JIRA"} > _identifier_width = 7 > > # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >@@ -1232,7 +1232,7 @@ class Bug(Nitrate): > raise NotImplementedError("Direct bug fetching not implemented") > # Process provided inject > self._id = int(inject["id"]) >- self._bug = int(inject["bug_id"]) >+ self._bug = inject["bug_id"] > self._system = int(inject["bug_system_id"]) > self._testcase = TestCase(int(inject["case_id"])) > if inject["case_run_id"] is not None: >-- >2.17.1 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1614315
: 1476560