Forums

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

Scriptrunner link issues based on summary

Qi Jiang
Contributor
May 7, 2018

I have few projects: A1,B1,C1,D1 and  A2,B2,C2,D2. Inside these projects, there are some issues got same summary, I am looking for a way to link them together.

For example:

inside A1 there is a issue, A1issue1 summary is "UI submit button is not working", and in A2 there is another issue, A2issue1 summary is "UI submit button is not working" too. So I want to link A1 to A2.

2 answers

1 accepted

0 votes
Answer accepted
Joshua Yamdogo @ Adaptavist
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.
May 8, 2018

Do you know the exact wording of the summaries that are duplicated? For example, you could write a script in the Script Console that does this:

//JQL search for issues where summary contains specific wording
//loop through all returned issues and link them together
//reindex issues

This would only work if you knew what the wording of the duplicated summaries were. 

Regards,

Josh

0 votes
Praveen
Contributor
May 7, 2018

Hi, 

This will be hard, since JQL doesn't compare 2 exact strings. You have to find a better way to fetch issues. 

Praveen
Contributor
May 7, 2018

If you search for issues with the summary as "UI submit button is not working" it might return other issues along with the required issue.

Suggest an answer

Log in or Sign up to answer