Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to search for a incidents to which an external or internal ticket is linked?

K.V.L.N. Karthik August 6, 2018

let us say the incidents X,Y,Z are linked to an

1. external ticket "E" with a relation "relates to" or "implemented by"

OR

2. internal ticket "I" wiith a relation "duplicates" or "duplicated by"

how to search for X,Y,Z based on the status of "E" and "I"

1 answer

0 votes
Mesut Yilmazyildirim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 7, 2018

You can use issueFunction JQL function by ScriptRunner;

 

issuekey = E AND issueFunction in hasLinks ("implemented by")

issuekey = I AND issueFunction in hasLinks("duplicated by")

 

K.V.L.N. Karthik August 8, 2018

Thank you Mesut, but I'm getting the error message issuekey "I" for field 'issuekey'  is invalid

On top of it i'm getting the suggestion for issuekey like silJQL("")

silJQL.JPG

attlassian1.JPG

Mesut Yilmazyildirim
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 8, 2018

Check if you have "key" instead of "issuekey"

By the way, I/E should be the JIRA <Key>-<number> format

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events