Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Conditions on status change

Hi,

We would like to allow status change only if some mandatory fields are filled in, and to deny change if that fields are empty.

Do you know any possibility how to do this?
I read about conditions on status transactions in JIRA documentation, but there is written only about specific kind of conditions I can set on.

Thank

Marek Kakos

3 answers

3 accepted

1 vote
Answer accepted

Hi @Marek Kákoš ,

in order to do that you should use field manadatory validator in order to verify if those fields are filled during transition. 

If you want to show or not transition, you should use a scripted validator using script runner plugin.

Hope this helps,

Fabio

0 votes
Answer accepted
Callum Carlile Community Leader Mar 29, 2021

Hi @Marek Kákoš 

You can create a Value Field workflow condition (the very last option in the list of conditions) which will only display the transition if a specific field has a certain value, or a value at all.

In the example below, I am using the condition to only show a transition if the recordID field is not empty. You can add multiple of these conditions for other fields which are required to display the transition.

required field.png

Hope this helps!

Thanks a lot,

We look for this functionality, but I do not have this options in JIRA.
I go through Project settings/Workflows/Selected transition/Conditions/Add condition.

There is list of conditions (in atachment) without your option:

Code Committed Condition
Hide transition from user
No Open Reviews Condition
Only Assignee Condition
Only Reporter Condition
Permission Condition
Sub-Task Blocking
Unreviewed Code Condition
User Is In Group
User Is In Group Custom Field
User Is In Project Role

Maybe I look at the wrong place, or there is not that option in our version of JIRA (server instalation JIRA v8.8.0), or we need any add-on.

Do you know what can help as?

 

Marek Kakos

Hi @Marek Kákoš ,

running Server, you'll need an additional workflow app that provides a 'Fields required' condition or validator (usually they provide both then) - see https://marketplace.atlassian.com/search?category=Workflow&product=jira

As an example, Jira Workflow Toolbox being one of them has a generic 'Fields required or changed' validator - see https://apps.decadis.net/display/JWTSDC/Fields+required+or+changed

Disclaimer: I'm part of the behind the aforementioned app.

Cheers
Thorsten

Thanks,

we tray Jira Workflow Toolbox you suggest.

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you