My challange is this: in a Jira cloud project a number of tasks have been cloned. This results in each issue having a summary field prefixed with "CLONE" and an issue link of type "clones" which references the issue it was cloned from. I would like to create an automation rule that could convert the issue link type from "clones" to "related to".
I have successfully created a rule that for a single issue could do that; however, I dont't want to open all issues one after the other to apply the rule. I want to be able to apply a rule that will fix all issues in the same time. As nested branches are not supported I doubt it is possible. Any thoughts? Any hints to provide another approach? I have looked at little at python for jira which seems to support the looping mechanism needed but I would rather stay entirely inside Jira.
Hi @Frederik Vindum,
I'm Marlene from codefortynine.
If you are not able to find a suitable solution with Jira Automation, you could try our Marketplace app Deep Clone for Jira, which - I believe - covers your use case.
With Deep Clone you can
You would simply have to
Hi @Marlene Kegel - codefortynine
Thank you for getting back to me and pointing me in an interesting direction. Seems your product can help me. I'll be sure to check it out; however, I have moved on with reating my own Jira Automations.
/Frederik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for your feedback, @Frederik Vindum! I am happy to hear that you were able to solve your problem with help of the Atlassian Community :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First thing, would you please share an image of your rule? Did you somehow edit the link type, or remove/re-add the links with the type you want?
Next, to process the existing issues you could:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Bill Sheboy
Tx for the quick reply. I have attached the basic rule (attachment 01) which applies to a single issue. The problem is two things: 1) the rule only applies to one issue (as oppossed to looping through all issues) and 2) in the last step "Link issue to" I must target the triggering issue (or newly created or a smart value {{lookupIssues}}).
My task is this:
For each issue in project:
Remove "CLONES" from issue summary
Add link of type "Reletes to" between current issue and issue it was cloned from
Remove link of type "Clones"
My approach has been to use a manual trigger combined with a JQL branch (attachment 02). This should give me the For each -part. The summary adjustment is straight forward but when I attempt to add the Relates to -link, I have no handle to the issue that the current issue is cloned from: Trigger issue is not the issue that the current issue is cloned from and if I use the issue which was used to clone current task then that reference would be wrong in the next iteration of the look.
Makes any sense at all?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I believe this is still possible, and a bit risky. First I will describe a rule to try, and then some possible issues.
project = myProjectName AND summary ~ "CLONE /-"
Some possible risks and challenges:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.