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

I want to use Jira automation to create a child issue of a child issue

Edited

Create a child issue by filling in the following additional fields
{
"fields": {
"Parent Link" : "{{issue.parent.key}}"
}
}


I want to create a child issue of the created issue.
I want to implement it with one automation
Please lend us your wisdom on how to implement

2 answers

0 votes
Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 27, 2023

Hi @koutarou ishibashi 

You cloud try the following.

{
"fields": {
    "parent": {
        "key": "{{issue.parent.key}}"
     }
   }
}

 

But I'm not sure as I see your rule.

Can you explain in English what all steps are in the current rule?

I'm setting up a custom hierarchy.

There are three hierarchy levels: 3, 2, and 1

The parent of 1 is 2 and the parent of 2 is 3

 

Trigger manually at hierarchy level 11.png

 

Custom Fields_10228 is of type Select List (multiple choices).

Repeat the same process for as many as the value of Custom Fields2.png

 

Create a tier 2 Epic below
"Parent Link" : "{{issue.parent.parent.key}}"

3.png

 

I want to create a story that is a subordinate of the Epic I created.

(I want you to tell me how to do it here)

4.png

Marc Koppelaar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Oct 31, 2023

Hi @koutarou ishibashi 

I don't think this is going to work in the same rule.

As the Story you are creating doesn't know the Epic that is created.

Add an action to re-fetch data

You could look at making 2 log actions between action to create the Epic and the action to create the Story.

Is their information in the log action, you would need to log the information on the issue key and Epic Link.

Then if there is information you should create a variable to log this and use the variable on setting the Epic Link value in the Story

But as I said I don't know if this will work.

0 votes
Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 27, 2023

Hi @koutarou ishibashi

I think you can achieve your goal with an automation rule like this:

Automation_-_Jira.png

Thank you for your answer. because of the special environment it cannot be created that way

As you can see in the image, we have created a new issue and created a child issue of the parent parent with "Parent Link" : "{{issue.parent.parent.key}}".

I want to create a child in the issue I created

jql.pngjql2.png

Michel Neeser
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Oct 30, 2023

@koutarou ishibashi You have to differentiate between sub tasks and child tasks. The parent/child relationship you're referring to applies to sub tasks. But it seems that you want to create a child task below an epic task. So you have to specify the epic link like this:

Automation_-_Jira.png

I'm setting up a custom hierarchy.

There are three hierarchy levels: 3, 2, and 1

The parent of 1 is 2 and the parent of 2 is 3

 

At hierarchy level 2, we have succeeded in setting hierarchy level 3 as the parent

 

This is resolved

jql.png

Continuing, I don't know how to set the parent of the issue I created

This problem cannot be solved

jql2.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
TAGS
AUG Leaders

Atlassian Community Events