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!
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.
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.
...be more productive while being fun to use at the same time. For some, getting started can be a bit intimidating. This is especially true if Jira Service Desk is your first exposure to Atlassian...
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!
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