custom script validator

Pankaj 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-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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 _Herzum_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
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