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

How do we, using JMWE connector, updated a subset of subtasks

Hi,

 I need to update field on a subset of sub tasks. But the change seems to to be applied to all subtasks regardless of type. Is there some way of restricting it to a subset?

I'm using the post function `Set field value of linked issues (JMWE app)`

Kieran

1 answer

0 votes

Sure. You need to use the "Conditional Execution" option, with a condition like:

{{ linkedIssue.fields.issuetype.name in ["Bug", "Task"] }}

Thanks David, I'll give it a try.

Sorry Dave, does 

linkedIssue.fields.issuetype.name

 work for subtasks or should it be 

subtask.fields.issuetype.name

linkedIssue represents the "current" linked issue when iterating over the linked issues configured in the post-function - which in your case are sub-tasks. So linkedIssue represents, in your case, each sub-task in turn.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira

Keep your team in the loop with Team @mentions in Jira Software!

Hi everyone! My name is Jenny, a Product Manager at Atlassian. After launching Team @mentions in Confluence, we heard a lot of positive feedback from customers that they love how easy it is to @men...

555 views 6 18
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