Forums

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

Smart way to link issues that could be related

Erik Buchholz
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.
June 20, 2019

We'd like to have a possibility to link new issues with other issues that could be related.

Could be means the issues have the same label but a human shall check if they really are related.

My approach so far is a Structure with new issues in the first level and the could be related issues in the second level. I drag and drop the first level issue to the third level if they are related.

To display issues in the second level I linked them automatically with Automation for Jira.

That one was not so easy, so I post the JQL, I'm using

project = DEMO AND issuetype = epic AND status != Closed
AND labels in ({{#triggerissue.labels}}"{{.}}"{{^last}},{{/}}{{/}})

We need the " because some labels contain reserved special charaters.

When the issues that really are related I want to remove the could be related links. Unfortunally this seams not to be possible with Automation for Jira. I tried the advanced function with the code below

{"update": {
"issuelinks": [
{
"remove": {
"type": {
"name": "relates to"
},
"outwardIssue": {
"key": "{{triggerissue.key}}"
}
}
}
]
}
}

And I get the following error message.

Field with id issuelinks and name 'linked issues' does not support operation remove Supported operation(s) are: 'add'

So is there another way to remove the could be related links? Or even better is there another way display the issues that could be related next to each other that they can be linked?

1 answer

1 accepted

1 vote
Answer accepted
Deleted user June 24, 2019

Hi Erik,

Developer from Automation for Jira here.

Thanks for raising this. We don't support clearing issue links, but we're already tracking this at https://codebarrel.atlassian.net/browse/AUT-213 (you may have to log out to view this or use an Incognito window).

We've got quite a few higher priority items in our backlog at the moment so it will be a while before we can get to this.

Cheers,
Yvan

Erik Buchholz
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.
June 24, 2019

Dear Yvan,

thanks for your reply.

Similar things said Andreas at https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Clearing-issue-links/qaq-p/666828 in 2017. Do you have an idea when this issue could make it to the roadmap?

Best regards,
Erik

Suggest an answer

Log in or Sign up to answer