Hi All,
We have two Jira projects: Let's say Project X and Project Y. Currently, we can successfully clone a bug from Project X to the Project Y project based on a specific status. The cloned ticket in Project Y is automatically linked to the original Project X ticket with the "clones" link type. When we open the Project Y ticket, we see that it is linked back to the Project X ticket with the "is cloned by" link type.
Now, I want to create an automation rule that works as follows:
I created an automation rule with these steps:
{{issue.issueLinks.type}}
equals is cloned by
.However, the rule didn’t work as expected. I checked the audit log, and it shows this message:
“The following issues did not match the condition.”
Can you help me figure out what I might be doing wrong? Is there a better way to set up this automation to ensure the original Project X ticket's status is updated based on the Project Y ticket's status? In addition to that, we are using different workflows for each project.
Any insights would be greatly appreciated!
Is your automation scope on both project ?
Which condition is not met, the 1st or 2nd one ?
It may be related to the 1st one where you should not use 'is cloned by' but Cloners
Regards
Hi @Florian Bonniec thanks for your answer. Automation should work in the first project. In other words, the status of the first ticket created should be updated according to the status of the ticket created as a clone. However, I couldn't achieve this, I'm not sure if it was because different workflows were used.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Did you try to compare issue.issuelink.type with Cloners ?
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.
I would remove this condition. For me issue.issueLinks.type is not returning what you are expecting but it's not really useful as it will branch over 0 issues if any.
Regards
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.