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

0 votes
Ignacio Pulgar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 7, 2019

Hi Navin,

This JQL returns all issues created more than 7 days ago and which are on the Open status:

created < -7d AND status = Open

For simplicity, the status condition could be avoided by using a normal transition from Open to Escalate statuses, instead of a global transition.

There are apps which provide you with conditions based on JQL queries, like Jira Workflow Toolbox (Server), and other apps which enable alternative ways to achieve the same goal, like JMWE using expressions, or ScriptRunner's scripted conditions, among other.

Hope it helps.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events