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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation for Jira Smart Values in Sub-Task Summary

I have an Automation for Jira rule set up to create sub-tasks for a specific type of issue. I would like to include the name of the epic and parent task in the name of the sub-task so that the person it is assigned to know what they are working on at a a glance. For example, if there is an epic "Website" with a task "Home Page" and a sub-task "Wireframe" that is assigned to a designer, I want the summary of the sub-task to be "Website Home Page Wireframe." I have tried the following in the summary field:

  • {{issue.parent.epic.summary}} {{issue.parent.summary}} Task
  • {{parent.epic.summary}} {{parent.summary}} Task

In both cases the summary is just set to "Task."  Is it not possible to use smart values in the summary or am I referencing the wrong values?

3 answers

1 accepted

2 votes
Answer accepted

Hello Blair,

The smart values you used on your Automation rule has properly worked for me - It properly added the Epic and Story summaries to the sub-task. Here's the rule I executed:

Screen Shot 2019-01-15 at 18.12.21.png

That being said, I believe that something might be blocking your Automation rule. Please, check the Audit Log of your automation and check if it returns any errors.

Additionally, if the Epics and Stories are on different projects, make sure you configured your rule globally to work cross projects.

We will be waiting for your answer.

Thank you for this! Originally I was trying to set the summary in the same step as creating the sub-task, but having a separate rule also works for what I need.

Like Marc Tardif likes this

You are welcome, Blair!

Have a nice day!

Like Jurica Petricevic likes this

If you want to create an Issue (i.e. Enhancement) with automated subtask creation where the subtask's summary includes the parent's summary, you will have to first create the issue, then create the subtask and rename it separatly. It seems Jira canoot do it in the creation process.



In this example, for an enhancement in this projet, a new subtask "Conduct Meeting" will created with "Meeting" as summary. Then this subtask will have its sumary renamed to "Meeting: {{issue.parent.summary}}".

I suggest you add a condition to make sure you are not renaming another subtask that may be present when creating several ones in the same project automation.

Thank you, that was the trick.

How can i make this work for JIRA next gen project. I would like to append the Epic name to the Tasks under. Tried using the same smart values as above and it doesnt work. Please help. Thanks.

Suggest an answer

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

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

4,408 views 22 32
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