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,466,080
Community Members
 
Community Events
176
Community Groups

One Time Child issue Update if Epic contains specific label

Hello All,

I want to update all child issues of certain epics once.

 

When a story is created or modified, this rule already applies.

Screenshot 2022-08-04 101757.png

 

But I want to do the same once for all already existing child issues (stories) that are assigned to an Epic that contains label "WBS_Parent".

 

If Epic contains label "WBS_Parent" then add the label "WBS_Story" to all child issues. 

 

How can I search in an automation for Epics that all contain label "WBS_Parent" and then apply this rule to all child issues?

2 answers

1 accepted

0 votes
Answer accepted

Hi @Katja Arendt

for a completely different direction:

If this is a one-time action, you could consider using a regular bulk edit. The challenge then is to get to the list of relevant stories; you can either use one of the various JQL extensions in the Marketplace, or one of the more "hierarchy-focused" apps, as discussed e.g. here. Once you have the list of stories, simply run through Jira's bulk edit flow and add the label.

Best,

Hannes

Hi Hannes, thanks for your answer and also for the link to the other thread, which is exactly my question. With the help of Excel and a few workarounds, I was then able to solve it using the Bulk Change function.

 

I just hope that such basic functions like JQL searches in JQL searches will be included in Jira by default in the future. 

0 votes
Trudy Claspill Community Leader Aug 04, 2022

Hello @Katja Arendt 

You can create a rule where the trigger is Scheduled, and enter a JQL to find the issues you want to update. The rule would otherwise be similar to the one you already have.

You will probably want to uncheck the second box I highlighted in the image.

Screen Shot 2022-08-04 at 3.44.09 PM.png

Hi, thanks for your answer.

 

But basically I am facing the same problem here as in the filter JQL search. Because it would look like this in my opinion:

 

Project = xyz and type in (story, bug, support) and Epic in (type in (Epic) and labels in (WBS_Parent)).

But as I have read several times, without in paid ad-on a JQL search in another JQL search is not possible.

 

So I thought that I can solve this via Jira Automation.

Like for example as trigger I set Scheduled Action that searches for all Epics with label "WBS_Parent" and the following Actions should then be applied to all Childs of these Epics found in the JQL search. 

 

Since I didn't get further with the automation I did it as follows:

 

I built a filter that shows all Epics with the desired label. Then I exported the list to an Excel.

Afterwards I formatted the Epics Key's (e.g. R2O-1234) in Excel so that I can copy them into the JQL search. This is because I have over 100 keys that I did not want to type.

The search looked like this

Project = R2O and type not in (epic) and "Epic Link" in (R2O-123, R2O-234, R2o-555 .....)

So the filter showed me all child issues of the epics, which I could then edit via "Bulk Change". 

 

I am still surprised that such "standard cases" cannot be mapped via Basic Jira. 

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events