Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update parent issue on transition (JMWE)

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.

1 answer

1 accepted

0 votes
Answer accepted

Hi @Sadath Ali Syed 

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) 

Thanks @David Fischer _Appfire_ . You are a life saver :) 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Trello

🏊‍♀️ Atlympic Event: Trello

Hello Community!  Quick disclaimer: We are running a contest on Community (The Atlympics!) from July 23rd - August 8th of 2021. If you are interested in participating in this contest (prizes! ...

129 views 1 12
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you