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,559,397
Community Members
 
Community Events
184
Community Groups

automation: search for subtask with same parent

When a certain subtask is created, I want it to be linked to its "sister/brother" subtask that contains a certain word in the summary. So I need to find subtasks with the same parent.

I want to make a new branch  in the automation and there I want to use JGL but what do I need to write in there?

For the certain word I use 

summary ~ 'Anhang' and ....

can someone tell me waht the second part looks like?

Thanks in advance!!!

1 answer

1 accepted

3 votes
Answer accepted
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 29, 2021

Hi Dominique, welcome to the Atlassian Community!

Can you try this JQL query in you automation branch?

summary ~ 'Anhang' and parent = {{issue.parent.key}}

{{issue.key}} is a smart value and references the parent issue key from the issue triggering the rule. So if your new subtasks triggers the automation parent = {{issue.parent.key}} will return all issues from the same parent as you sub-task

More smart values can be found on Smart values - general 

I hope this helps!

the jql section does not like the {{ }}, so when I go on "check query" I can not select it, only when I delete them but that does not work. is there a workaround?

Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 29, 2021

But you can save the configuration without pressing "check query" right?

I think it should work like that, it has been a while since I tried this.

Like Karolina Dylewicz likes this

YES, it works!!! Thank you very much!

Like Charlie Misonne likes this
Charlie Misonne
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Sep 29, 2021

You're welcome! Glad I could help!

Like Dominique Hermens likes this

thanks man! it works :D 

Suggest an answer

Log in or Sign up to answer