Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Global Automation

Eric Roetenberg
Contributor
April 17, 2024

Hi,

 

I want to have a story automatically modified if:
a parent Epic contains a label with value << MANAGEMENT>>
Then this label with the value << management>>
copied to the underlying issue User story

The Epic can be in another project so it must be a Global Automation.

Who can help me with the correct rule.

Greetings Eric

1 answer

0 votes
Trudy Claspill
Community Champion
April 17, 2024

Hello @Eric Roetenberg 

Have you tried creating this rule? Please show us what you have so far.

What events should trigger this rule?

1. If the Labels field in the Epic is changed?

2. If a story is added to the Epic?

3. If a story is moved from one Epic to another?

4. If the parent Epic Labels field is modified to remove that value, should the child story also be modified to remove the value?

Eric Roetenberg
Contributor
April 17, 2024

Hi Trudy

It is intended that this automation rule will run every night for a particular project

Grtz. Eric

Trudy Claspill
Community Champion
April 17, 2024

Have you tried creating this rule? Please show us what you have so far.

You could do this with this sort of rule

Trigger: Scheduled

-- with JQL to select the Epics yyou want to apply this too
i.e. 
issuetype=Epic and Labels in ("<your Label value>")

For Each Branch: Related issues/Children

Action: Edit Issue
-- Field: Labels
-- Add Labels 
---- your Label value

 

Screenshot 2024-04-17 at 9.02.02 AM.png

Eric Roetenberg
Contributor
April 18, 2024

Hi Trudy 

this its what i have now

auto rule az 3.JPGauto rule az 2.JPGauto rule az 1.JPG

Trudy Claspill
Community Champion
April 18, 2024

And is that rule working for you? Or do you have additional questions?

Eric Roetenberg
Contributor
April 19, 2024

nee hij werkt nog niet 

 

Trudy Claspill
Community Champion
April 21, 2024

Op welke manier werkt het niet?

Welke informatie staat er in het auditlogboek over de uitvoering van de regel?

Het auditlogboek laat u zien wanneer de regel is uitgevoerd en welke problemen door de JQL in de trigger zijn geselecteerd. Het toont u de problemen waarbij acties zijn uitgevoerd.

---

In what manner is it not working?

What information is in the Audit Log for the rule execution?

The Audit Log will show you when the rule executed, and what issues were selected by the JQL in the trigger. It will show you the issues where actions were executed.

no, it doesn't work yet

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events