Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Automation in Issue Templates for Jira app: Apply template with REST API (part 2/2)

Attention! We're excited to share the news of a new onboarding process for our bestseller, Issue Templates for Jira Cloud. As a Jira Administrator, you can now engage in a step-by-step learning journey to make the most of the app's potential 🚀.

Don't have Jira Admin privileges? We've got a solution for you too!

In our commitment to inclusivity, we're publishing the onboarding process gradually on the Atlassian Community.

With Issue Templates for Jira you're not limited to using a template with Jira only. You can also use external software to trigger different events in Jira and apply a template immediately.

With this feature, you can:

  • Connect this function with any external tool to automatically create an issue and apply a template with received data.
  • Use templates from Jira Automation and apply them to an issue at any moment on any action in an automation.
  • Synchronize it with Requirements and Test Management for Jira , so when a user creates an issue with a specific status a selected template can be applied and values filled.
  • Configure an incoming webhook that will create a new issue from a template in automation.
  • Update an issue by applying a new template and copying sub-tasks.

Apply template with REST API.png

Are you curious about other Issue Templates possibilities? Check out what we have prepared in the new onboarding for Issue Templates for Jira 

Initial Setup in Issue Templates for Jira app

How to use templates in Issue Templates for Jira app

Automation in Issue Templates for Jira app

Calculated Values in Issue Templates for Jira app

1 comment

Comment

Log in or Sign up to comment
Roberto Veldhoven
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!
June 26, 2024

I want to create a new change from a template.

So, I did a POST to /rest/api/2/issue with this body:
{
"fields": {
"issuetype": {
"name": "Change"
},
"summary": "Test summary",
"description": "Test description from request",
"reporter": {
"name": "***"
},
"project": {
"key": "PJSM"
},
"customfield_10307": {
"id": "10155"
}
},
"properties": [
{
"key": "issue.templates.automation",
"value": {
"applyTemplate": "Test main task"
}
}
]
}
and indeed a new change has been created.
BUT the subtasks with the original template have not been copied to the new change-issue.
We really need that, it would be the main reason for using templates.

Can anyone point me in the right direction (I am new to Jira) to get this done please?

TAGS
AUG Leaders

Atlassian Community Events