Hi,
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!
Bryan,
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for documenting this! I had the exact same issue because of that condition setting, and was able to resolve it!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.