Forums

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

Create a ScriptRunner condition to hide a trasition

Estevão Basso Chrisostimo Soares
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!
November 21, 2023

Hey, I'm trying to create a script for a workflow that checks if the type of request is "x" or "y". If it is, the script should then verify if the current user on the item is the assignee. If this is true, the transition can be selected. However, if it isn't true, the transition should be hidden.

It could be on Behaviour or in the Condition of the transition, which one is better?


1 answer

0 votes
Bastien Delourmel (FMX)
Contributor
November 21, 2023

Hi @Estevão Basso Chrisostimo Soares ,

 

Did you try with condition directly into your workflow?

The condition of your transition would look like this:

Condition transition.png

You can group condition together with the little icon at the right of each condition.

 

Let me know if you need more information on how to implement it!

Regards

Suggest an answer

Log in or Sign up to answer