App page
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 Sep 20, 2021

Jira Service Management

This chapter provides information about using Issue Templates for Jira app in Jira Service Management projects.

Info

Apps can’t interfere with the form displayed in the Customer Portal.

There is no API that allows apps to react to selection changes or pre-populate form with default values.

UI modification doesn’t support Jira Service Management projects yet. To apply a template in such a project use the create from template button in that project instead of applying the template to the native create screen.

A template in the customer portal can be only applied after the request creation.

To enable applying templates on the customer portal requests turn the toggle on in the global configuration.

If you disable a repository that contains JSM templates from global configuration and enable it again, you’ll have to activate templates on the service desk again.

Template field on the Customer Portal

Template field added to the Request Type

The Template field can be added to Request Type and be selected by customers on the Customer Portal. The undoubted advantage of this solution is a quick request creation and ability to adjust the template to customer’s problem. However, it can be problematic for both Agents and Customers.

To begin with, customer sees all templates available in Templates Repository without knowing which fields will be copied to his request. It may happen that completed fields will be overwritten by those from the template. As a result, Agents won’t have a complex, detailed description of Customer’s request. What’s more, the amount of templates may be confusing. Customer can choose a template that does not fully correspond to the problem.

Hidden Template field with default template

It’s also possible to hide Template field and set the default template for target Request Types. With this configuration previously selected, default template will be applied to a request right after its creation.

It means that Customers won’t have a chance to choose a template, but as soon as they create a Request on the Customer Portal, one of them will be applied.

If the Administrator or Agent (with appropriate permissions) will set the Scope correctly, fields completed by Customer won’t be overwritten by template one’s.

Apply template post function

You can also use the Apply template post function. It automatically completes fields with values from template after the transition is performed. For further information, navigate to Apply template post function chapter.

Setting a default template in a request type

By setting a default template in a request type the template will be automatically applied after creating each new request. Due to technical limitations it won’t be applied to the customer portal, but applied to the response sent by a customer. You can use this feature to automatically create jira tasks based on the customers’ input using smart defaults.

To enable this feature in a request type you need to set a preset value in the Template field, which will be added to the request type. The steps below will guide you through the process.

Steps

  1. Go to Project settings > Screens.

  2. Edit the create screen of the issue type corresponding with the request type you want to apply a template on.

    Issue Templates for Jira Cloud: Default templates
    Default templates

  3. Add the Template field from the drop-down list.

    Issue Templates for Jira Cloud: Default templates
    Default templates

  4. To apply a default template go to Project settings > Request types and click on a type you want to have a template for. Add Template field and fields covered by the template to the request form.

    Issue Templates for Jira Cloud: Default templates
    Default templates

  5. Expand options.

  6. Check the Use preset value and hide from portal box.

    Issue Templates for Jira Cloud: Default templates
    Default templates

  7. Scroll down and find your template, set it as default. Save changes.

    Issue Templates for Jira Cloud: Default templates
    Default templates

  8. Navigate to Apps > Manage Apps > Issue Templates for Jira > Configuration.

  9. Switch to the Advanced tab and turn the Allow Customers to use templates via customer portal. Issues will be created and edited by user: Issue Templates for Jira toggle on. By default, it’s turned off.

Result

With the created template you are able to automatically:

  • add a template to your description
  • set dates, deadlines and assign issues to specific roles or people
  • create sub-tasks
Note

Keep in mind that fields such as summary or description will be overwritten unless you use Variables.

You can automate your process easily with Smart defaults.

The template won’t be visible to customers in the portal, it will be applied after the request has been created.

Issue Templates for Jira Cloud: Default templates
Default templates

Issue Templates for Jira Cloud: Default templates
Default templates