Hi there,
We sometimes need to port the issue to more than one branch. The fix versions field gets populated with the list of branches, say 1.1, 1.2, and Main.
Can you help with Jira rule automation where:
- Depending on the number of fix versions the sub-tasks gets created
- Each sub-task has a unique fix version from the issue fix versions
Thanks!
Hi @abhijeet_chitriv -- Welcome to the Atlassian Community!
A rule could do that with an advanced branch, iterating over the values in the Fix Versions for the issue: https://support.atlassian.com/cloud-automation/docs/jira-automation-branches/#Advanced-branching
For your case, the rule might look like this:
Kind regards,
Bill
Thanks, @Bill Sheboy This was just what I was looking for.
Just that .id did not give the desired result, {{varFixVersion.name}} provided the values I sought. So, I accept the answer you provided.
The next level of the problem is that the workflow should allow the user to add a new fixVersion, and the workflow should create new subtasks ONLY for that particular fixVersion.
E.g., The subtasks created for the fix versions field, say 1.1, 1.2, and Main.
Later, say, if there is a new release created 1.1.1 and someone updates fix versions, then the workflow triggers another sub-tasks ONLY for that w/o hitting the subtasks created for 1.1, 1.2, and Main.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Adding subtasks for only the newly added values to the Fix Versions field may not work.
The reason is the changelog available to automation rules is not always accurate: https://jira.atlassian.com/browse/JRACLOUD-80486
You could still try it to learn if it meets your needs with the field change smart values for added values: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
The rule would be triggered on a change to the Fix Versions field, and then iterate over the values in: {{addedfieldChange.values}}
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.