Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Condition for JMWE linked item

Henrique Degan
Contributor
October 19, 2023

Hey guys:

I have the following problem:

Am I doing an action in JMWE, which requires a condition?

If there is a linked item of type XX then OK.

I tried a few ways but nothing worked:

{{ linkedIssue.fields.issuelinks.includes ("XX") }} "It was not"

{{ linkedIssue.fields.issuelinks.name == ("XX") }} "It wasn't"

Can anyone here help me?

Thanks in advance

1 answer

3 votes
Michael Bachmann
Contributor
October 24, 2018

The easiest way would be to add a condition to the transition in the workflow, see the appropriate documentation: Advanced workflow configuration

Christina_Tkach
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
October 24, 2018

Thank you! Very helpful!

2 questions: 

1. there is an option "only assignee condition" - for the sake of not breaking my workflow, can I use that AND "permission condition" together (assignee & admins/leads etc). 

2. is there a way to add this to all of the transitions at once, or do I have to do it individually? 

 


Thanks!

Michael Bachmann
Contributor
October 24, 2018

1. Yes, you can add multiple conditions and combine them, just make sure you select the correct operator ("Any" creates an "OR" condition)

Transition_ in progress - Jira_2018-10-25_08-35-16.png - Windows-Fotoanzeige_2018-10-25_08-38-00.png

2. If they are all separate transitions then no, you have to add the condition to every transition manually.

Suggest an answer

Log in or Sign up to answer