Forums

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

How to Used JMWE Jira Global Variables - Current Transition

Tyas Iglecias
Contributor
February 18, 2020

I will make condition for Transition O (status B move to status D)

I have condition transition O  true / active, if B>(x)>C>(y)>B

and Transition O False /hide if  B>(x)>C>(R)>A>(I)>B

 

WhatsApp Image 2020-02-18 at 21.43.00.jpeg

 

I try make condition to Transition used "Build-your-own (scripted) Condition (JMWE app)", Global Variables - Current transition,

and make :

 

transition.from.name == Y

 

and I get  message error:

Message:
Evaluation failed: "transition" - identifier not available in context

 

Please help me, to solve it

 

Regards,

Tyas

 

1 answer

0 votes
David Fischer
Community Champion
February 18, 2020

Hi Tyas,

unfortunately, the transition variable is not available in the Jira expressions tester (because there is no current transition). You'll have to deploy the condition to test it, and it's clearly not easy to debug because Jira Cloud doesn't offer any Jira expression debugging tools (such as logging).

From your description, it seems that you want to disable transition O if the issue went through transition R before, is that correct? If so, I don't believe you can test that using Jira expressions.

Suggest an answer

Log in or Sign up to answer