Looking for ways to add template for commenting in a ticket

Saiful Islam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2025

Hello community,

In our company, we are making a standard for commenting in tickets after testing. We would like to make it as a template in JIRA so people can reuse it from there. Can i do that? If yes, how to do it?

 

Thanks in advance for your help.

2 answers

0 votes
Saurabh Kapoor
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 19, 2025

Hello @Saiful Islam 

Trust you are doing great,

My Name is Saurabh Kapoor one of the Support Engineers here at Atlassian, and I will be happy to help you on this query.

I understand that you are looking to create a standard template for commenting in Jira tickets after testing, which can be reused by your team. While Jira does not natively support creating comment templates directly, there are a few workarounds you can consider:

Solutions

Automation For Jira

The first method is by using Automation for Jira if you require that the templated Comment be added after the issue is created or after a ticket transition. Please follow the below steps to achieve this requirement:

  • From your Jira project, select Project SettingsAutomation.
  • Select Create rule in the top-right corner.
  • Select a trigger for the rule which is Issue created or Issue Transitioned.
  • Configure the trigger settings and select Save.
  • Select New component and select If: Add a condition to add a condition for this rule.
  • Select Issue fields condition and select Issue Type in Field and equals in Condition and Value should be the issue type as per requirement.
  • Select New component and select Then: Add an action. Select Comment on issue action
  • In the comment box, please update the following: 
    {{issue.comments.last.body}}
    ----------------------------------------

          <Template>

  • The above format means that in the first line, the comment added by the user will be present. After this, you can add the template as you require as text.
  • Please note, if you want to override the comment added by the user, just add the Story template of your choice in the comment box on the above step.
  • Give your rule a name, then select Turn it on.

By creating the above automation rule, whenever any new issue is created/commented, this rule will run and update the comment with the desired Template as per your requirements. For your reference, I will share some screenshots of the automation rule components with a similar use-case to update the issue Description.

Please follow the below documentation to understand more about Automation for Jira and its use: Create and edit Jira automation rules

Default Values for the 'Create Issue' screen add on

If you require a fixed template to appear in the Description field while the Story issue is being created by the user, you can use Default Values Add-On (Now available for Cloud). The Default Values plugin for Jira allows you to automatically inject predefined values into fields on the "Create Issue" screen and it's a free application.
Simply go to the application's configuration and add default values for any of the supported fields like Description or Assignee.

 

0 votes
Vishal Biyani
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 19, 2025

@Saiful Islam 

Is your expectation that when someone clicks on add comment you get a pre-populated template. I doubt if that is possible out of the box in JIRA.

Saiful Islam
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 19, 2025

Yes, that is what i am looking for if that can be doable. Anyway, thanks for your response.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events