-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
None
-
Jenkins ver. 2.107.1
JIRA plugin 3.0.0 (same behaviour with 2.5.2)
We are using several Jira tracker. If I configure only one Jira site in the configuration then:
- issue links for tracker01 link to the configured tracker
- but for issues from the other tracker02 the links lead to a wrong tracker
So I configured two Jira sites. They have different URLs and different issue patterns. My expectation is that links from tracker01 with pattern01 get detected and linked to tracker01, same for tracker02. What happens is that after configuring the second tracker02 (no change on tracker01), no links are detected anymore at all (just displaying the text without link).
proposal: change behaviour so that first issue pattern gets evaluated and - if it has a match - create a link to the first tracker. If no match, then continue with the next pattern/tracker combination.
patterns I used (similar to this):
tracker01: (ABC-[1-9][0-9]*)([^.]|\.[^0-9]|\.$|$)
tracker02: (BCD-[1-9][0-9]*)([^.]|\.[^0-9]|\.$|$)