Hello all,
I have 2 parents in Jira and have automation. If i moved sub-task from parent 1 to parent 2, triggered only parent 2. How i can trigger (current)parent 2 AND (previous)parent 1?
I want to check and change status both parents.
Hi @Yuri ,
Welcome to the community!
You have not tagged the hosting type of your instance. As Automation is quiet different in Server / DC / Cloud, it is very important to mention the correct hosting type.
In any case, for triggers that have editted the issue, you can use the changelog smart value.
For cloud, you can use the smart value {{changelog.Parent.FromString}} to get the key of the parent before you moved it to a new parent, and {{changelog.Parent.ToString}} to get the key of the new parent (after change).
Be aware that your trigger must be an "issue editted", with the appropriate conditions, and not "issue moved", I don't think it triggers when you move a subtask to a new parent.
More info can be found here: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/
Hope this helps!
- Tessa
Hey Yuri,
The smart value gives you the key of the issue. You can use that key to find the issue (branch rule action -> related issues -> JQL ) and then use a transition action on that issue.
- Tessa
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.