Apps documentation
Issue Templates for Jira
Cloud Server/Data Center
Issue Templates for Jira

Cloud

Server/Data Center

Documentation
FAQ
Release notes
Migration to Cloud
Last updated Apr 16, 2023

Automatic create and close

Learn how to set up a template to create and close issues automatically

With this feature you can configure a special closing transition that opens the issue from the template and closes it immediately.

Configuration

Steps

  1. Go to Jira Administration > Manage apps.
  2. Select Configuration from the Issue Templates app navigation.
  3. Open Create & Close.
  4. Check the box to activate the feature.
  5. Click Add to configure a workflow transition upon which you’d like to use Create & Close.
    Jira Issue Templates - Create and Close: Configuration
    Issue Templates for Jira - Create and Close: Configuration
  6. Select the target project.
  7. Select the issue type.
  8. Select the Transition.
  9. Change the name of the button (optional). By default, the button has the label Create & Close.
  10. Set up values for fields to be autofilled upon this transition.
    • Type in the details in the following format: field:value
    • Each field should be defined in a separate line (divided by an Enter).
    • Learn more about supported fields and their formats below.
  11. Click Add.
    Jira Issue Templates - Create and Close: Configuration
    Issue Templates for Jira - Create and Close: Configuration
  12. In the Template Details, turn on the toggle to under Create & Close to enable it for the selected template.
    Jira Issue Templates - Create and Close: Configuration
    Issue Templates for Jira - Create and Close: Configuration
    Note

    The toggle is not visible until you enable Create & Close in the global configuration.

Result

When the template is selected on the Create issue screen, it adds a Create & Close button and the defined required fields to the screen:

Jira Issue Templates - Create and Close: Result on the Jira Create issue screen
Issue Templates for Jira - Create and Close: Result

Note

The required fields will be filled in upon the issue creation.

Jira Service Management

The Create & Close functionality can be particularly useful for support agents creating requests in Jira while helping customers on the phone or chat. It can be used in Jira Service Management projects, but only from the Jira side. The button doesn’t appear on the Customer portal.

Supported fields

Here are the field types that you can autofill while using Create & Close:

System fields

Field Field name Format of the value
Assignee assignee username of the Assignee
Description description any text
Due Date duedate date in the format that is set in Jira (jira.date.picker.java.format)

Custom fields

Field Format of the value
Date Picker date in the format that is set in Jira (jira.date.picker.java.format)
Multi Group Picker group names separated by a comma
User requires a user key (userKey)
Number requires a numeric value
decimal numbers need to be specified with a period as decimal symbol
Multi Select Picker option ID or option name
Select Picker option ID
Text Field (single-line)
Text Field (multi-line)
any other text custom fields
any text
Need help?

If you can’t find the answer you need in our documentation, raise a support request.