You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
In task workflow after Inprogress state we have Done state and transition is Finish. We have setup Finish screen in Finish transition. We have to set up a validator showing some fields are mandatory before moving issue to Done state. We have created the validator using Custom script validator Scriptrunner the error message is coming in Finish screen. But we want to show this validator message in issues view screen not in Finish screen.
Is there any way to show the error message in issue view screen ?
Hi @Sreedevi Kr ,
Welcome to Atlassian community!
As per my understanding, you have mentioned 3 transition.( In-progress to Done then Done to Finish ). you want to add a field mandatory in the In-progress to Done transiton but Its showing in the Finish transition screen while you are moving to Done to Finish.
If my understanding correct then you have to update the script in the In-progress to Done transiton But you can add the validator in task workflow from In-progress to Done instead of using the script its easy to add in the workflow.
Please find the document to add a validator in the workflow, In the task workflow update the In-progress to Done transtion and a Validator.
Please accept the answer If it helps you 😊.
I have one transition, Inprogress to Done, that transition is Finish.
I have added validator in finish transition only. but we have finish screen also configured in this transition. Becoz of this screen validator is coming in finish screen not in view screen. I want to show validator message in view screen.
Hi @Sreedevi Kr ,
Thanks for the clarification.
I understood, you have configured one screen which name is Finish.
As per the transition works steps, it will first redirect to the screen which you have configured and you have mandatory a field which is not available in the finish screen when you are transition to Done its showing to complete the mandatory field So you have to add the mandatory field in the Finish screen to complete. It will not show in the view screen because you have added a specific screen only for this finish transition and the view screen and Transition screen are different.
Please accept the answer If it helps you😊.