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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

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
4,556,677
Community Members
 
Community Events
184
Community Groups

Auto generate Sub-task label from Task's label

Nasim Afzali
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!
May 15, 2023

I want to use the automation rule to generate a subtask label that includes the parent task's label followed by a dot and the subtask's number. For example, if the parent task's label is "1.2.3" and the subtask is the first subtask created under that parent task, the subtask's label will be "1.2.3.1". If the subtask is the second subtask created under the same parent task, its label will be "1.2.3.2", and so on.

I used automation rules and smart value as below but got an error.

image.png

Would you please guide me in this regard?

Thanks,

Nasim

1 answer

1 accepted

2 votes
Answer accepted
Nasim Afzali
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!
May 15, 2023

I used this smart value and it worked properly.

{{issue.parent.fields.labels}}.{{issue.parent.fields.subtasks.size}}

The first part represents the parent task's label and the second part represents the number of subtasks currently associated with the parent task. It dynamically generates a number based on the count of subtasks. For example, if the parent task has 3 subtasks, the value would be "3".

Danny
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jun 03, 2023

Hi @Nasim Afzali

I have been unable to replicate this entirely. I can replicate the parent label and period, ".", but not the 'size' part to create essentially a WBS on the child issue. Are you able to provide further steps to clarify if it is something I am missing?

Thanks,

Danny

Suggest an answer

Log in or Sign up to answer