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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

244 views 1 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