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

Cloud

Server/Data Center

Documentation
FAQ
Release notes
Articles & Videos
Last updated Sep 20, 2021

Template scope

This chapter provides information on how to set template’s scope to easily maintain a template.

See the respective sections to find information about:

What is a template’s scope?

A Scope lets you decide which fields should be copied and which shouldn’t from the template’s issue. You can explicitly list all the fields you want to copy or use handy options like All fields or All fields except.

Note
Required fields are mandatory to create an issue. Therefore, those fields will be copied while creating new issue, even if they’re not included in a scope.

By default, a new template is configured to inherit a scope.

With the inherit option, a child issue will use the same scope as the one configured in the parent template. It is useful especially when you create epics with many stories and subtasks, and you need the same scope for whole issue’s hierarchy. For the primary template or if a scope can’t be inherited, the default scope will be used.

Tip
We recommend to explicitly set the template’s scope in your primary templates and linked issues, which don’t inherit scope.

For further information navigate to the Default scope section.

Template’s scope configuration

To configure scopes navigate to the template’s repository > Project settings > Issue Templates. Open Scopes tab to:

Issue Templates for Jira Cloud: Set of fields - Scope
Set of fields - Scope

Using All fields and All fields except

Using these options is especially beneficial when your template is dynamically changing. For example, your template is complex, and you anticipate that you will need to add new custom fields in the future.

Use the All fields option to copy all non-empty fields from the template’s issue. In some scenarios, you might not want to copy all fields, especially summary and reporter when applying a template, in such cases use the All fields except option. It is much easier to maintain a template this way, so it is the recommended option.

Note

After the app is installed for the first time, the default scope is created automatically and it is configured to copy: All fields except Reporter.

How to add a new scope?

Steps

To add a new scope:

  1. Click Add in the left column, under scopes. The Add scope dialog box appears.
  2. Type Scope name.
  3. Click Add.
Issue Templates for Jira Cloud: Set of fields - Scope
Set of fields - Scope

Result

A new scope has been added. Now you can configure the scope

Issue Templates for Jira Cloud: Set of fields - Scope
Set of fields - Scope

How to add fields to a scope?

Steps

To add a field to a scope:

  1. Click on the target scope.
  2. Click the drop-down menu and choose field you want to add to the scope. You can also use the all fields except option.
Issue Templates for Jira Cloud: Set of fields - Scope
Set of fields - Scope

Result

The selected fields have been added to the scope.

(Inherit) option

If all your templates in a hierarchy should use the same set of fields, you can configure each of them to inherit the scope. In most cases you won’t need to change anything, because newly created templates are configured to use this option. With that, you can easily change the scope for the whole hierarchy by just changing the scope in your primary template. All child templates with the inherit option will use the same scope as in their parents.

Issue Templates for Jira Cloud: Set of fields - Scope
Set of fields - Scope

Note

Scope inheritance doesn’t work for linked issues, therefore you should explicitly set the scope in each one of them, the default scope will be used otherwise.

Default scope

Newly created templates are configured to inherit a scope. In case of a primary template and linked issues, there is no parent to inherit a scope from. If a scope is not explicitly set, then the default scope is used. In configuration, you can choose one of your scopes and set it as default at any time. One of the configured scopes has to be marked as a default one.

Steps

To configure the default scope:

  1. Click More icon.
  2. Click Set a default.
    Issue Templates for Jira Cloud: Set of fields - Scope
    Set of fields - Scope

Result

Your scope has been set as the default one.

Issue Templates for Jira Cloud: Set of fields - Scope
Set of fields - Scope

Which fields should be included in scope?

There are few fields that you should consider while preparing a set of template’s fields:

  • Reporter - copying the Reporter field may be the best solution for cloning issues. On the other hand, if you’d like users to use templates and be the reporters, remove it from the scope or use All fields except and Reporter options.
  • Linked Issues - by adding or removing Linked Issues field you can decide if links should be copied or not.
    Tip
    See Atlassian documentation for details about linking issues.
  • Sprint - if you decide to add a Sprint field to the scope, the template and new issue will share the sprint. For further information navigate to Jira Software chapter.
  • Summary - if you apply a template to an existing issue, changing its Summary may be redundant. Placing Summary in scope is the best solution in case of creating new issues from the template.

Which fields can be copied?

See the supported fields section for details.

Need help?

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

*Include as much information as possible to help our support team resolve your issue faster.