Forums

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

how can I set a required field only on the screen solve issue

Daniela Buffarini April 14, 2019

In the same field configuration scheme, I have two custom fields. Qualification and Comment.
It is necessary that once the user is qualified, and before closing the task,
report any satisfaction comment.

I create the fields Rating radio button and Comment as text-field multiline and I include both in the screen solve issue. Thats works ok.
Both custom fields are present on the screen with the mandatory asterik

Then I try to create a new Issue but I can not finish the create because it
tells me that Comment is the required field and is not correctly in the create screen.
I do not understand this behavior, first that the custom field is not associated with the create screen (which is correct) and second because if reporting a custom field as mandatory affects all project screens, the same should happen to me with the field.
I can not understand how it works with one field and not with the other

2 answers

1 vote
Bastian Stehmann
Community Champion
April 15, 2019

Hi @Daniela Buffarini ,

 

I will try to explain. 

If you configure a field as required in the field configuration, it is always required, no matter if the field is on the screen or not.

If you just want to make it required on certain situations, you can use validators or conditions to achieve that.

A condition will check something and only if this check was successful, the transition will be available. 

A validator will check the input and let's you only continue if the check was successful. So this is probably what fits best.

Daniela Buffarini April 15, 2019

I found this link about validators of transition 

https://codecentric.atlassian.net/wiki/spaces/WE/pages/34635784/Validators#Validators-RequiredFieldsValidator

but in my Jira Installation it only brings two options to add:

Permission Validator or

User Permission Validator

Maybe the option Requierd Fields Validator It was available in previous versions and not now?

0 votes
Joe Pitt
Community Champion
April 15, 2019

to add to what @Daniela Buffarini several plugins will also allow you to make fields required during a transition. I use JIRA Suite Utilities, but there are some other. 

Daniela Buffarini April 15, 2019

So I can no do it with Jira out-of-the-box, a plugin is requiered for JIRA Server 8.0.2?

All the plugins have an additional cost right?
 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events