Forums

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

Is there a way to show messages to the user?

KALOS
Contributor
August 23, 2024

 

I need to know if there's a way to show messages to the user. Let me explain. It often happens that you want to show the user a warning saying that if a certain custom field is not filled in or a certain preliminary action is not carried out, the workflow cannot go ahead.

2 answers

1 accepted

4 votes
Answer accepted
Florian Bonniec
Community Champion
August 23, 2024

Hi @KALOS 

I think you are looking for a validator, such a Field Required that let you set an error message if the field is not set during the transition. Apps such as JSU or Scriptrunner allow you to do this.

 

Regards

KALOS
Contributor
August 23, 2024

@Florian Bonniec  

thank you for your answer, but as far as I know the validator is for validating, whereas I would really like to show a dialogue box on the screen that explains to the user. How do I do that with the validator? If it can be done, I didn't know.

 

 

Florian Bonniec
Community Champion
August 23, 2024

Validator such as the one from JSU allow you to set an error message that is displayed under the field when not properly filled.

You could also set the description of the field in the Field Configuration in order to guide the user. If "Enable HTML in custom field descriptions and list item values " settings is on you can even add css to make it more visible.

 

Regards

Like # people like this
KALOS
Contributor
August 23, 2024

@Florian Bonniec  

thank you, I understood, I would choose another type of validator. I have now selected the one you told me and solved it. Thank you all for your support.

 ( also to @Valerie Knapp )

Like Valerie Knapp likes this
3 votes
Valerie Knapp
Community Champion
August 23, 2024

Hi @KALOS , thanks for your question.

You can use workflow conditions and validators for this.

Here is the documentation that explains how they work. Apologies, I can only find the cloud documentation at the moment but it should work the same way in DC.

https://support.atlassian.com/jira-cloud-administration/docs/configure-advanced-issue-workflows/ 

Here is a worked example:

https://confluence.atlassian.com/jirakb/how-to-prompt-a-required-field-when-transitioning-the-status-of-an-issue-1235850930.html 

Otherwise, there are always apps, if you want to show a warning about a particular field. For example, my former employer, Actonic, make an app for this - https://marketplace.atlassian.com/apps/1218962/data-protection-and-security-toolkit-for-jira-dlp?hosting=datacenter&tab=overview . You can always install the free trial and see if it helps you.

Please share your feedback if you have any follow up questions or doubts.

Cheers

KALOS
Contributor
August 23, 2024

@Valerie Knapp  

thank you for your reply, in fact that is what I knew could be done only that on my jira Datacenter I have this type of screen, moreover with a useless ‘comment’ field which I do not need. I would just like to make a dialogue box appear with a text defined by me.

 

Screenshot 2024-08-23 alle 15.25.48.pngScreenshot 2024-08-23 alle 15.27.28.png

Suggest an answer

Log in or Sign up to answer