- Get started
- About
- Quick guide
- Use cases
- Glossary
- Migration
- Configuration
- Global configuration
- Project configuration
- Repository
- Template configuration
- Template scope
- Manage templates
- Supported fields
- Permissions
- Using templates
- Create issue from template
- Create issue structures
- Apply template to existing issue
- Recreate issue
- Use template custom field on issue create screen
- Default templates
- Direct link
- JQL searchers
- Variables
- Static variables
- Dynamic variables
- App Integrations
- Team-managed projects
- Jira Software
- Jira Service Management
- Advanced Roadmaps
- Issue Checklist for Jira
- Advanced
- Automation
- Legacy automation action
- REST API
- Create issue and apply template with Jira REST API
- Security
- Security statement
- App permissions
Last updated Jul 27, 2023
Apply template in Automation
With Issue Templates for Jira you can apply a template automatically to newly created issues using automation’s Create Issue action with the special issue templates automation property.
Steps
- Configure the action to create a “dummy“ issue with all the required fields for the particular issue type you want to use.
- Then, expand More options and replace the content with:
{
"properties": [{
"key": "issue.templates.automation",
"value": {
"applyTemplate": "TEMPLATE-1"
}
}]
}
It will instruct the app to apply a template with the issue key equal to TEMPLATE-1.
For details, see Automation.
Apply template with REST API
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 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.
For details, see Apply template with REST API.