show transition view screen if certain field value is empty.

Hi

During transition, check whether certain field is empty or not, if empty, show screen to fill that field. if not empty, then allow transition. How can I do that?

Thanx

2 answers

This widget could not be displayed.

Bhushan's solution will ALWAYS show the screen, whether the field is filled or not. It will not let the transition proceed if it is left empty.

If you really do want the screen to show only when the field is empty, then you need to create two transitions. One with the screen and a "condition" that says "only show if the field is empty" and another with no screen and a condition that says "only show if field is filled"

Hi Nripendra,

Use the Required field workflow validator that comes bundled with this free add-on.

https://marketplace.atlassian.com/plugins/com.googlecode.jira-suite-utilities

For more information on JIRA workflow functions, take a look at

https://confluence.atlassian.com/display/AOD/Advanced+workflow+configuration

Cheers

Bhushan

Hi Nic,

Where can I find conditions that you have mentioned i.e. "only show if the field is empty" / "only show if field is filled". I did not see such when I press "add condition". Do we need any add ons for that?

Regards

+1 Nice solution, Nic!

Sorry, I'm used to having a handful of standard plugins in Jira, and keep forgetting that their functions are not off-the-shelf.

I suspect I've used the Jira suite utilities to do this. Failing that, I've used the script runner to create a simple script.

To add more information to this. On the Workflows -> Select the workflow you want -> Select the Transition you want to show the pop-up on -> Conditions -> Select Value Field -> Set the Field to whatever you want. Set the Value =. Set the operator to String. Make sure this transition has a pop-up screen. Then create a new transition you want the pop-up to not show up on. Do the same thing except set the Value !=. Bonus: In order to change the sequencing of the transition buttons on the user screen edit the properties of that transition to have a opsbar-sequence.

Hey Dorian, 

i have same issue, i have marked the fieled as "required", created a condition in the workflow needed:

-Set the Field "done"  OK

-Set the Condition to "=" OK

-Value (don't know whjat to make)???? NOK

-Comparision type "String" OK

You asked "Make sure this transition has a pop-up screen"? how to do that?

i need to show up a specific message when the value is not provided in the fieled, not the standard message"this fieled is required", how to do that?

This widget could not be displayed.

@Nic Brough Thanks for the Suggestion. It works perfectly!

Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you