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!

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,945 views 12 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot