Forums

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

custom script validator

Pankaj Mehta
Contributor
May 10, 2023

need to add validator on field in workflow.

need to add validaor on screen when we move one status to another status then suppose resolution field would be mandatory and if we move without filling resolution field the it would also shows erros message like : "resolution is mandatory" on below the field.

2 answers

2 accepted

1 vote
Answer accepted
Nic Brough -Adaptavist-
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.
May 10, 2023

You don't need to do this, the resolution field cannot be left empty during a transition screen.

1 vote
Answer accepted
Fabio Racobaldo _Catworkx_
Community Champion
May 10, 2023

Hi @Pankaj ,

you need Field Required validator provided by Script Runner, JSU or JMWE

Fro further inforamtion please check the following how-to guide https://confluence.atlassian.com/jirakb/make-custom-fields-required-in-a-workflow-transition-in-jira-server-691011903.html

Hope this helps,

Fabio

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
AUG Leaders

Atlassian Community Events