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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.