Create
cancel
Showing results forย 
Search instead forย 
Did you mean:ย 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Show validator error showing in View screen not in finish screen

Hi,

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 ?

 

error.JPG

1 answer

1 accepted

0 votes
Answer accepted
Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 12, 2023

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 ๐Ÿ˜Š.

Regards,

Sanjen Bariki

Hey,
I have one transition, Inprogress to Done, that transition is Finish. transition.JPG

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.

Sanjen Bariki
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Nov 12, 2023

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.

 

Regards,

Sanjen

Please accept the answer If it helps you๐Ÿ˜Š.

Thankyou for helping @Sanjen Bariki , I tried different ways to show the validator not in finish screen. I think there is no way to show like that.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events