Forums

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

How to deny transition if a field in the issue is empty?

Deleted user November 10, 2021

Hi, I would like to setup a rule or condition in the workflow that deny transition to the next status in the workflow if a specific field is empty.

When a developer want to start working on a issue (from Selected for development to In progress) and one specific field are not filled in, I want to block that transition.

My guess is that this would be something to add in the workflow, been looking into conditions but cant find how to do it?

3 answers

0 votes
Andreas Borkenhagen
Contributor
March 6, 2023

Any chance to achieve this in Jira Software Server (without any payed plugins)?

Trudy Claspill
Community Champion
March 6, 2023
Andreas Borkenhagen
Contributor
March 6, 2023

Thx for trying to help, but:

1st one is "Jira Suite Utilities" (our proxy blocks access to that page)
2nd one is "is not available in Jira out-of-the-box." (paid plugin)
3rd one is "Jira Suite Utilities" again
4th one is "Won't" fix with 2 dead links within

Trudy Claspill
Community Champion
March 6, 2023

I provided those links as documentation that Atlassian doesn't intend to provide the functionality (i.e. status on Jira items is Won't fix) because, as they note, it is available through third party apps.

I am not aware of any method to achieve what you want on Jira server without a third party app.

0 votes
Trudy Claspill
Community Champion
November 10, 2021

Using a Validator will allow the user to click the button to attempt the transition, and then not let the transition happen. If you want the user to have the option to fill in the field as part of the transition process, you can create a screen that includes that field and attach the screen to the transition.

If you don't want the transition to be available to even select when that field is empty, you can use a Condition. The specific Condition you would use would be the Value Field condition. This condition does not work for all field types, though.

Screen Shot 2021-11-10 at 5.25.44 PM.png

Manoj
Contributor
August 5, 2022

@Trudy Claspill Hello, 

I have a custom field value, if the amount is =>200k then it will assign to finance head for approval and if it less then simply move to approved stage, How would I achive this, can you guide me on this. 

Trudy Claspill
Community Champion
August 8, 2022

@Manoj 

Please start a new post/thread for your question.

0 votes
Paula Kraszewska November 10, 2021

Hi there,

You can add a Validator to this specific transition. There's Field Required Validator available that checks if the field is not empty and if it is empty, doesn't allow to transition. Most of the time when we use it, we create transition screen to allow users to fill it in while transitioning. 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events