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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry Dave, does
linkedIssue.fields.issuetype.name
work for subtasks or should it be
subtask.fields.issuetype.name
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.