Forums

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

Is there a way to make a one of two fields required on a ticket?

Matthew Frassetti May 25, 2017

Hello!

Was wondering if there was a way to make an issue require one of two fields, but not both. For example, an either or type situation where if you fill out one field you don't have to fill out the other.

 

Thanks!

1 answer

0 votes
Alex Christensen
Community Champion
May 25, 2017

In default JIRA, I don't believe so, no. If you're on JIRA Server and have ScriptRunner, you might be able to do something with the Behaviors module of that add-on, but I haven't tried and I don't know for sure.

Do you have a use case or example of what the contents of these fields would be? There might be another solution here, but we'd need more info to be able to help.

Shane Carr
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 12, 2018

+1: our use case is when anonymous users file issues, require that they enter their email address, but not require that when team members file issues.  This would in effect be to require "Reporter" (jira user) or "External Email" (anonymous user) but not both.

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 12, 2018

It's the same answer, you're going to need something like ScriptRunner to add a behaviour to the fields.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events