The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Automation Transition (hide)

Hleb Barinov
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 19, 2021

Hello everyone


I have a problem in workflow (automation transition)

 

I need to block the transition if the field is empty. If the condition is true, then you need to fill in assignee with the value from field1 and hide the transition

 

How can do it this?

 

Thank you

 

2 answers

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
John Funk
Community Champion
October 19, 2021

Hi @Hleb Barinov  - Welcome to the Atlassian Community!

You can hide a transition by placing a Condition on the transition - like a field is missing a value. 

Or you can add a validator that will show the transitions but give an error message to the user if they try to execute the transition and it fails for some reason - like a field is missing a value. 

0 votes
Colton_Kosicek
Contributor
October 19, 2021

You would want to do this in the Jira workflow capability for Jira admins.  You can use a post function to check it from happening and print out an error to say why is this not being allowed.