Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.

×
Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

[ScriptRunner condition] Include the target status name in a workflow condition?

Stefan Stadler
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 Leaders.
January 8, 2025

Hi all,

I am trying to achieve some generic function in a workflow and was wondering about the following:

In a scripted condition, is it possible to check for the target status name to be equal to some text? Or is the target status not known to ScriptRunner when evaluating the condition? 

I want to allow a condition only if the target status name is in a list of Strings, otherwise the transition should not be shown.

Thanks!

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Stefan Stadler
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 Leaders.
January 8, 2025

I just realize that this does not really make sense. The idea would be to reuse a transition multiple times. However, to reuse a transition, it would have to be set to the same target status, which in this case is not possible. Therefore, this is most likely not available as it does not make sense ;)

DEPLOYMENT TYPE
SERVER
VERSION
9.4.1
TAGS
AUG Leaders

Atlassian Community Events