Bug 1290545 - JIRA External Tracker hard coded to JBoss Jira
Summary: JIRA External Tracker hard coded to JBoss Jira
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: Creating/Changing Bugs
Version: 5.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: 5.0-RH15
Assignee: Jeff Fearn 🐞
QA Contact: Jeff Fearn 🐞
URL:
Whiteboard:
: 1324705 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-10 18:42 UTC by Eric Towns
Modified: 2020-10-09 00:10 UTC (History)
3 users (show)

Fixed In Version: 5.0.4-rh48
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-10-09 00:10:31 UTC
Embargoed:


Attachments (Terms of Use)
image of current behavior (42.84 KB, image/png)
2015-12-10 18:42 UTC, Eric Towns
no flags Details

Description Eric Towns 2015-12-10 18:42:11 UTC
Created attachment 1104486 [details]
image of current behavior

Description of problem:
The External Tracker field on bugs for "PnT-DevOps Jira" [1] seems to be expecting an integer input, however our Jira IDs are alphanumeric.  This means we can't use the External Tracker field to link these Jiras. 

[1] base URL: https://projects.engineering.redhat.com/browse/


Steps to Reproduce:
1. On a BZ, select External Tracker = "PnT-DevOps Jira"
2. Enter a valid Jira number, e.g. "CPSTRATA-341"
3. Save

Actual results:
Error: "External bug id should be a number"

Expected results:
accept alphanumeric input for this particular tracker. [2] 



Additional info:

[1] base URL: https://projects.engineering.redhat.com/browse/
[2] which would build a valid URL like this: https://projects.engineering.redhat.com/browse/CPSTRATA-341

Comment 1 Muhammad Tahir 2015-12-11 02:58:34 UTC
This has been fixed according to the SA comment in linked RT.

Comment 2 Eric Towns 2015-12-11 15:48:32 UTC
This is not fixed.

Comment 3 Eric Towns 2015-12-11 15:49:57 UTC
URL for that request tracker?

Comment 4 Jeff Fearn 🐞 2015-12-13 22:03:50 UTC
(In reply to Eric Towns from comment #3)
> URL for that request tracker?

The link is in the "External Trackers" box above the first comment.

Comment 5 Jeff Fearn 🐞 2016-02-01 23:05:02 UTC
The problem here was that it was set to number not JIRA Issue, however changing it to JIRA Issue reveals another bug.

JIRA Issue is actually JBoss Issue and the code attempts to validate any JIRA against the JBoss Jira.

The JIRA code needs ot be fixed to use the supplied URL and honor the can_get, can_send, must_send, and send_once flags.

Comment 6 Jeff Fearn 🐞 2016-02-05 00:37:03 UTC
Hi Eric, I had the settings changed so this now works, but I'll keep this bug opened as the settings are confusing due to incorrect naming, so we will need to fix that.

Comment 7 Jeff Fearn 🐞 2016-04-10 22:09:28 UTC
*** Bug 1324705 has been marked as a duplicate of this bug. ***

Comment 9 Jeff Fearn 🐞 2020-08-31 02:52:06 UTC
Links to other Jira instances are now being routed correctly.

Comment 10 Jeff Fearn 🐞 2020-10-09 00:10:31 UTC
This change is now live. If there are any issues, do not reopen this bug. Instead, you should create a new bug and reference this bug.


Note You need to log in before you can comment on or make changes to this bug.