IIC Labs

Field Defaults & Create Rules for Jira

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:

  1. Open Automation for your project (or globally, as an admin) and create a rule.
  2. Trigger: Work item created.
  3. Add a condition if the rule should only apply to some issue types or projects.
  4. Action: Edit work item, then choose the field and the value.
  5. 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:

  1. Jira settings, then Apps, then Field Defaults & Create Rules, then Add rule.
  2. Start from a template if you have no rules: Triage defaults sets the label needs-triage and a due date 5 working days out, Bug report template fills a description skeleton, and Assign to the creator sets the assignee.
  3. Pick the projects and issue types, or leave them empty for all.
  4. Add the fields and their default values, turn on Also fill empty fields after creation, and save.

What neither option can do

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.

Try Field Defaults & Create Rules for Jira

Free for teams of up to 10 users; larger teams try it free for 30 days. Jira Cloud only.

Try it free on Atlassian