Require field in workflow transition


I am currently testing out Jira Servicedesk and I'm trying to setup a change process for us.

I've created a custom workflow based upon the default. From creation, the issue moves to awaiting approval and from there can - for example - be declined.

When it is being declined, I want it to show a screen with a custom comment field which would be required.

I've set it up in the workflow to transition to declined, with the transition set to the required screen.

I have then followed the Confluence article here without errors.

The validator is set up: Required fields (ignoring context): Change - Approver Comment

I've tried this both with and without ignoring context. However, when the approver clicks on decline, the issue simply goes to the status decline without presenting a screen.

I have triple checked the workflow, the screen, the custom field. The field is on the screen when I check it manually. The screen however doesn't display when 'decline' is clicked. The workflow however does show the required screen in the Edit Transition box.

I am unsure where to look or what to test at this point, any thoughts would be much appreciated!


1 answer

0 vote
Jack Brickey Community Champion May 03, 2017


you should be able to simply define a new screen let's call it Decline Request Screen and attach it to the Decline transition. Then in this new screen you can have whatever fields you want and you can make each required or optional. You may even want to add a 'decline reason' code that is a drop down.

There is good documentation for adding screens on Atlassian site.

hope this helps.

Hi Jack,


Thanks for your reply!


I already had a screen attached to the transition, but it didn't show when transitioning.

However, I have found the reason. I had a condition (which was copied from the original JIRA provided workflow):

"Block transition until approval:Condition to block issue transition if there is a pending approval."

I removed this condition from the transition and now it does show the screen.


Suggest an answer

Log in or Join to answer
Community showcase
Emilee Spencer
Published Friday in Marketplace Apps

Marketplace Spotlight: DeepAffects

Hello Atlassian Community! My name is Emilee, and I’m a Product Marketing Manager for the Marketplace team. Starting with this post, I'm kicking off a monthly series of Spotlights to highlight Ma...

66 views 0 3
Read article

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot