Hi All,
We have a requirement wherein we need to update parent issue on transition. Once the subtask is transitioned, we need to REMOVE the value in multi-select field of the same field of the subtask's parent issue.
We have JMWE automation. In JMWE, we have a post function called 'Add Field Value to Parent Issue Post-function' thru which the value of a multi-select field can be ADDED to the same field of the subtask's parent issue. However, we are looking to REMOVE the value in multi-select field of the same field of the subtask's parent issue.
you can achieve this using a Set Field Value of Related Issues post-function, with these settings:
- Field: your custom multi-select field
- Which issue(s): parent issue of the current sub-task
- Value type: Groovy Expression
- Value:
(relatedIssue.get("Multi-select field") ?: []) - (issue.get("Multi-select field") ?: [])
(assuming you want to remove the values of the custom field on the sub-task from its parent issue)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register NowOnline 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.