Forums

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

Can a field been made mandatory depending on request type.

siva
Contributor
December 18, 2018

For a transition from A TO B,

i need a custom field (ex: TYPE) Mandatory depending on request type.

1 answer

1 accepted

0 votes
Answer accepted
Patrick Cartier [Candylio]
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.
December 18, 2018

Hi @siva

I would suggest creating an issue type for that request type, a transition screen with the required field, and making that field required on transition with a validator.

Otherwise you are going to have the field required for all request types that use that issue type.

siva
Contributor
December 18, 2018

The task is not to create a new isssue type, but neet to make the field mandatory depending on request type.

thinking of using any script validator.

THANK YOU.

Patrick Cartier [Candylio]
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.
December 18, 2018

Well, that's the way I would do it without any add-ons.  Since Jira doesn't relate workflows or required fields to request types outside of the portal.

I found a workaround here that uses scriptrunner:

https://community.atlassian.com/t5/Jira-Service-Desk-questions/Using-Customer-Request-Type-in-a-Workflow-Condition/qaq-p/709177

Like siva likes this

Suggest an answer

Log in or Sign up to answer