Hello all,
The scenario is this.
I need to make sure that the rule is only applying to the subtasks with the same parent, so as not to transition subtasks under OTHER parents. Please let me know if this makes sense :)
Thank you!
Hi Chel,
This might be possible using JQL and a related issues branch. I would imagine you trigger the rule on issue transitioned and use a compare condition to filter out transitions that you're not interested in.
Then, you would use the Branch on JQL. The tricky part is then identifying the other task in JSQL. You can use the following to get started:
parent = {{issue.parent}} and something = identifier
The first part will limit the JQL search to just the sub tasks of the parent task. You'll then need to add something to identify the other task that you wish to transition. If you can do that then add a transition issue action on the branch and you're sorted.
Cheers,
Simeon [Automation for Jira]
No worries, best of luck. Feel free to raise a support ticket if you're still having issues or comment here.
Cheers,
Simeon [Automation for Jira]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@cmbecket - did this work? and if so, can you share your JQL
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Livanta, LLC I did the following and worked like a charm:
Start by setting your trigger and conditions, and add whatever other actions or conditions you need while setting up steps 1 and 2
1) Branch Rule for JQL: project = "your projects name" AND issuetype = Sub-task AND summary ~ "whatever summary you have set" AND Sprint in openSprints()
2) Advanced compare condition
IF: Compare two values---> 1st {{triggerIssue.parent}} equals {{issue.parent}}
Then: transition item to Testing
Hope this helped!
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.