Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Jira Automation: How to add prefix for summary on Subtask Creation.




I am working now on creating subtasks based on one custom field change. I am able to make this work but the problem is troubling adding  "prefix - Summary" on subtask during the creation. 

I tried writting the text as "Jan - {{issue.summary}}"

and "Jan - {{issue.parent.summary}}"

Both did not work. Second one updating the Task summary. But I need it for Subtask. 


Any advice?



1 answer

0 votes
Ismael Jimoh Community Leader May 22, 2022

Hi @Omprakash Thamsetty 

Use {{triggerIssue.summary}} for this.

This is explained a bit here:

This fires based on if you are using automation to immediately create the sub task.

You can also do a issue created and with JQL check if it is a sub task and if yes use the issue.parent but you will need the exact field you want e.g. {{issue.parent.summary}}

I hope this helps

Hi @Ismael Jimoh I tried smart values but it is updating parent summary, Not the subtask summary.

I used {{issue.parent.summary}} and it is updating parent issue summary. If I use Jan - {{issue.summary}} then it is not updating summary as prefix. It is updating with parent summary only.


Look like I figured it out. I used most recently created action



Like Ismael Jimoh likes this

Hi @Ismael Jimoh 

Looks like I don't have the Branch rule/ Related issue option in IF block. I tried Branch rule/Related issue on Main branch but I have added If condition to check some of the field values to trigger create subtask as shown in below pic.

Do you have any idea how I can handle Branch rule/related issues in IF block? Or any otherway I can change the subtask summary which we create in IF block?


Ismael Jimoh Community Leader May 24, 2022

Hi @Omprakash Thamsetty 

Unfortunately, certain options can only be performed at certain steps in Automation for Jira. 
When an option isn’t available, it means it isn’t possible.

I don’t have an idea how to get this tow work in your case.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published in Jira Software

An update on Jira Software customer feedback – June 2022

Hello Atlassian Community! Feedback from customers like you has helped us shape and improve Jira Software. As Head of Product, Jira Software, I wanted to take this opportunity to share an update on...

51 views 1 3
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you