Setting the Parent Field After Issue Creation
š” Workaround: Setting the Parent Field After Issue Creation
At the moment, the Parent field isnāt supported directly during issue creation using native Jira Create Issue flow. This means you canāt preconfigure the Parent issue when setting up your template.
But thereās a simple workaround using Jira Automation.
ā How to Set the Parent Field Automatically
You can create an automation rule that updates the Parent field after the issue is created. The rule will check which template was used, evaluating āTemplateā custom field, and if it matches a specific one, it will set the desired parent issue.
Hereās how to configure the rule:
Trigger: Issue (work item) created
Condition:
{{smart values}}
conditionFirst value:
{{issue.customfield_XXXXX.templateName}}
ā-- put āTemplateā custom field IDLearn how to get a Custom Field ID here
Condition: equals
Second Value: "Your Template Name"
Action: Edit issue fields ā set the Parent field key using a JSON snippet
{
"fields": {
"parent": {
"key": "KAN-4849"
}
}
}
šø Example setup:


If you'd like help setting this up or want to automate this further, reach out to us - weāre happy to guide you!