I have a particular field that has been added as a custom field . That field is a descriptive text field . The requirement is that this field needs to be filled only while resolving the ticket and not in any other statuses of the ticket . But if we are making it mandatory then the field becomes a mandatory field even when we are creating the ticket and also if we try to move it to any other statuses, The field should be mandatory only while resolving the ticket . How do i do that ? Can anyone kindly help ?
The way to do that is to add a Transition screen to the transition to Done.
So create a new screen that Just has the text field (and maybe the Resolution field if you want the user to select that at the same time - otherwise, just set the Resolution with a post function).
Then attach the screen to the transition.
You can add a validator to that same transition for the text field to be required.
Sure, I can describe. Go to Settings > Issues > Screens
Once there create a new screen and give it a name. Just include the new text field on the screen (and again, maybe the Resolution field if you want them to set it there).
Once the screen is created, go to Settings > Issues > Workflows to edit the workflow.
Click on the transition to Done (the line in the workflow that goes to the Done status)
When you get the popup box that shows Conditions, Post Functions, etc. then click on Edit.
There you will be able to add the new screen you just created. Then be sure to Publish your workflow and it should work for you. :-)
Hi @Soutam Roy ,
You don't need to make it mandatory if you wish to get it filled up at certain stage of your workflow.
It can be achieved by adding a new condition by following the stpes
With these changes, user won't be able to complete transition unless your field has a value.
Hope it will help!
HI , Thanks for your response. The configurations and workflows used here is shared among different projects . Kindly let me know if it would be possible for you to get in a brief call as i would not want to unintentionally make any mistakes that would affect anything adversely.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
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
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events