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?
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"
Use the Required field workflow validator that comes bundled with this free add-on.
For more information on JIRA workflow functions, take a look at
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.
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?
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