Jira issues created by email, mobile or the API arrive with empty fields: how to fill them
Running triage in Jira? The ticket came in by email. No priority, no component, no label, and it is sitting in nobody's queue.
Nobody picks it up until someone goes looking for it.
Anything that prefills Jira's create dialog cannot help an issue that never opens it. Work items created from the Jira mobile apps, by email-to-issue, through the REST API, by automation or CSV import, from a Jira Service Management portal or with inline create on a board skip the dialog, so they can arrive with empty fields. This guide covers two ways to fill them after the fact, and what each cannot do. (Atlassian now calls issues "work items"; this guide uses both words.)
Option 1: an automation rule
Jira's built-in automation has a "Work item created" trigger and an "Edit work item" action that sets field values (Jira automation actions). A rule that sets a label and a due date on every new work item in a project is a few steps:
- Open Automation for your project (or globally, as an admin) and create a rule.
- Trigger: Work item created.
- Add a condition if the rule should only apply to some issue types or projects.
- Action: Edit work item, then choose the field and the value.
- Name it, turn it on, and create a test issue.
Atlassian has a worked example for a description template: Set a default description template for work item types. Check your Jira plan's automation limits before relying on it for every new issue.
One thing to watch: if a later action in a rule reads a stale value, Atlassian's article on the Refetch component explains the fix.
Option 2: Field Defaults & Create Rules with "Also fill empty fields after creation"
Field Defaults & Create Rules for Jira is an app from IIC Labs that runs on Atlassian's platform. A rule applies to chosen projects and issue types and sets default values. With Also fill empty fields after creation on, a field that is still empty shortly after an issue is created is filled in, whatever created it: the Jira mobile apps, email-to-issue, the REST API, Jira Automation, CSV import, the Service Management customer portal, and inline create on boards and backlogs. Fields someone already filled are never overwritten.
To set it up as a Jira admin:
- Jira settings, then Apps, then Field Defaults & Create Rules, then Add rule.
- Start from a template if you have no rules: Triage defaults sets the label
needs-triageand a due date 5 working days out, Bug report template fills a description skeleton, and Assign to the creator sets the assignee. - Pick the projects and issue types, or leave them empty for all.
- Add the fields and their default values, turn on Also fill empty fields after creation, and save.
What neither option can do
- They only fill empty fields. They cannot make a reporter give you information. If you need the reporter to supply something, make the field required on the form or request type they use.
- Timing. The fill happens after the issue exists, usually within seconds with Field Defaults. Jira can take up to 3 minutes to deliver the creation event, so a field can be empty briefly.
- No Required, Hidden or Read-only after creation. Those only work in the create dialog.
- The field must be on the issue's edit screen, and fields Jira refuses are skipped. Notifications are not sent for these updates.
- Field Defaults does not support cascading selects, date-time pickers, number fields, Forge and Connect custom fields, Teams, Sprint or Parent, and it works on Jira Cloud only.
Atlassian bills Field Defaults & Create Rules per user with your subscription, with a free trial, and handles refunds. It runs entirely on Atlassian's platform and sends no Jira data to IIC Labs.
Jira and Atlassian are trademarks of Atlassian. Field Defaults & Create Rules for Jira is made and supported by IIC Labs, an Atlassian Marketplace Partner.