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

The add-in you’ve been waiting for: Jira Cloud for Excel 🙌

Introducing Jira Cloud for Excel Here at the product integrations team at Atlassian, we are thrilled to announce the new Jira Cloud for Excel add-in! This add-in lets you export Jira data directly ...

838 views 5 22
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