Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error message is not displaying on mandatory comment screen.

Sadia Aslam May 24, 2019

Hey,

I have added a comment screen to Start Review transition. I have made the comment field mandatory and added an error message on the comment screen using validator.

Comment screen displays and it's mandatory as well when user performs the transition but the error message I want to get displayed is missing on the comment screen. 

Please guide how can I make the error message display on the comment screen?

Below are the screen shot what I did.

 

 

Valiodator.PNGerror message.PNGset error message.PNG

2 answers

0 votes
Sadia Aslam May 27, 2019

@Tarun Sapra 

It's working this way already. I want get the error message displayed on the screen all the while so that users can know what to do.

Would the screen description work in this case?

Encey Yao
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 6, 2019

Hello @Sadia Aslam 

I am also trying to build myself a comprehensive workflow. And I am having other troubles. 

I know that your error message would be visible to user when they attempt the transition without fulfilling the validator (The transition will fail because the comment is not added).

When viewing the issue under the Issue and Filter section, the status of the issue status should be presented in a blue dropdown box on the top right side of your screen. When you click on the dropdown box, it will show you the available statuses this Issue can be transited into. 

And if the validator is not fulfilled, the user will not be able to transit the issue to your code review status. The transition will fail and a little yellow triangle will appear next to the word Status, above the dropdown box. When you click on the yellow triangle, your defined error message would be displayed.

I am not sure if there are other ways to display your error message.

 

If you are looking at providing it as an instruction, perhaps you can try appending this instruction as part of the transition into the In Progress status with the post-function.

Hope my inputs help you with it.

Tarun Sapra
Community Champion
June 7, 2019

Hello @Sadia Aslam 

You can have a custom field in which you can populate the error message and if the transition is successful then clear the error message. In this way when the user lands on the screen he will see the error message.

0 votes
Tarun Sapra
Community Champion
May 24, 2019

Hello @Sadia Aslam 

The error message should be displayed after the user tries to submit the transition screen without filling in the comment.

Thus, when you click submit on transition screen without entering a comment then you still don't see the error message?

The process is described here as well

https://confluence.atlassian.com/jirakb/how-to-configure-comment-field-to-be-required-in-workflow-transition-648381476.html

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events