How does JIRA handle issues with required fields that are created from email?

I have a project that has a mail handler to create issues.

I am thinking about making one field mandatory: Affects version.

When an issue is created from web, this would work just fine.

I cannot find in the documentation what would happen with issues that are created from email when there is a required field. Is that behavior undefined? I see the following possible outcomes:

  1. The issue does not get created because the mail handler has no way to map the required field.
  2. The issue gets created and the required field is empty.
  3. The issue gets created and the required field gets a default value (how to define this?)

In scenario 2, what happens with subsequent edits of the issue if the required field remains empty?

 

2 answers

1 accepted

Hello,

I was wondering the same thing, so I tested it:

  • the issue does get created even when the required fields are empty
  • subsequent edits require those fields to be filled in
  • inline edits of other fields is still possible without filling in the required fields

 

hope this helps

best regards,

Loïc

=========================

Edit : refering to @Peter Ben answer:

In my testing:

* transitions : yup, possible without data in required fields

* edit (full issue edit) : required fields are mandatory -> normal behaviour

This is the scenario that I was hoping for. Now I only need a dummy "version unknown" value for those few cases where we really don't know the value. Thanks!

1 vote
Peter Bengov Community Champion Dec 05, 2014

Teilor, are you sure? We are using JIRA's built-in mail handler and tickets are created. We didn't configure anything especial.

Amedee, scenario 2 is the correct one. Mandatory fields are left empty. Note that after that (subsequent edits or transitions), JIRA doesn't restrict fields to be set to mandatory (shows the red little star, but you don't have to insert a valid value).

I tested again with a clean instance and you are right. In my first test I used a instance with some restrictions in the mail handler.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

78 views 0 5
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you