I'm hoping for some help to get a project running smoothly.
We have a project set up for a very specific purpose and would like to do either/both of the following:
As with linking in general, there may be multiple links between the issues at either end of the unwanted link.
Are either of the above possible, and if so, how?
The more I read about filtering on links the more it seems Atlassian should notice years of complaints/questions and improve that bit of JQL, but in the mean time perhaps there's still a way with actions and branches in Jira automation.
I've just found out about the JQL option to search for issues based on a previously saved filter.
filter = "SavedFilterName"
Which it turns out you use to return a subset of multiple filters with AND.
filter = "SavedFilter AAA" AND filter = "SavedFilter ZZZ"
When running automation against an issue identified as being of issuetype Spike I can then combine linkedissue IN and filter =
linkedIssue IN linkedIssues("{{issue.key}}") AND filter = "SavedFilter Bugs"
That's not removing the link or replacing it, but at least I can identify it with that.
Hi @Dave F - You can accomplish link removals/adds with automation. If you have the business logic, you could do something like this:
Rule executes when an issue is linked to another issue. {{issue}} will always refer to the source issue, so if ISSUE-A is blocked by ISSUE-B, this rule will execute on ISSUE-B. To access ISSUE-A, use {{destinationIssue}}, and to access the link type, use {{linkType}} (e.g. {{linkType}}
Does the Delete Issue Links action delete ALL links, or just one? We only want to remove the new, unwanted link (Bug/Spike), not any pre-existing links between valid issuetype combinations (e.g. Bug/Story or Spike/Risk).
How would I recreate the pre-existing good links if I have to delete all links, and wouldn't that mess with the history?
Good to know about the way the trigger views either end of the link. That will come in handy. Thanks
I'm pretty comfortable with the business logic to define a bad link, especially now I can compare to those saved filters and your explanation of the trigger
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Actually, is there a defect with Delete Issue Links? The instructional text in it says "Please provide an issue or issue type to unlink", but I only have a multi-select dropdown of link types that will not accept free text or smart values.
It is not possible for me to provide what the instructional text requests.
Also, you can only select one of any To/From link type pair. Meaning to clear the link you want, you may need two Delete Issue Links consecutively to do the job.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks goes to @Mark Segall for the additional information that got me to a solution I was after.
Some extra context for anyone else trying to do this:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.