Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Validator to check if at least one of two fields has data Edited

Hi All,

 

I am setting up a new issue type. 2 of the details requested when creating an issue are Telephone Number and Email Address. 

A user should only be able to create the issue, if at least one of these 2 fields contains data.

Is there a way of doing this without scripting?

 

Thank you,

Anna

1 answer

1 accepted

0 votes
Answer accepted
Hana Kučerová Community Leader Jan 21, 2021

Hi @Anna Debono ,

I don't think it is possible. Jira OOB functionality gives you the possibility to set, whether the field is required or not, but not the combination of two fields. Unfortunately you will need some application for this.

Hana Kučerová Community Leader Jan 21, 2021

Are there any applications like ScriptRunner, JMWE, JSU... installed on your instance?

Hi @Hana Kučerová 

Thank you for your answer.

I do have some installed but nothing in which I found the functionality to check an either or.

I do intend to look into scripting soon (have another project first). It is not that urgent so it can wait until then.

Thank you very much and have a nice day!

Anna

Suggest an answer

Log in or Sign up to answer
TAGS

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you