Bug 1290545

Summary: JIRA External Tracker hard coded to JBoss Jira
Product: [Community] Bugzilla Reporter: Eric Towns <etowns>
Component: Creating/Changing BugsAssignee: Jeff Fearn 🐞 <jfearn>
Status: CLOSED CURRENTRELEASE QA Contact: Jeff Fearn 🐞 <jfearn>
Severity: low Docs Contact:
Priority: unspecified    
Version: 5.0CC: huiwang, kmccaule, qgong
Target Milestone: 5.0-RH15Keywords: Reopened
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.0.4-rh48 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-10-09 00:10:31 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
image of current behavior none

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.