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,463,314
Community Members
 
Community Events
176
Community Groups

Automation: Remove attachments from ticket if all linked tickets are closed

Hi all,

I can't get my head around this and I am not sure where my logic error is:

I am trying to run an automation task every day:

pic2.jpg

Task:

pic1.jpg

If condition: This should only pass if none of the linked tickets are in the project category "Development" and not closed. So if there is a linked ticket that is still "open" in one of the projects of this category, then the IF block will not be executed -> attachments will remain.

pic3.jpg

For some reason, the IF condition always passes and I am not sure why.

I tried to leave out the "key={{issue.key}}" from the JQL but that didnt solve the issue either.

Any idea?

Thanks,
Thomas

1 answer

1 accepted

1 vote
Answer accepted

Hi @Thomas 

Not entirely sure but ...

You say : "...if there is a linked ticket that is still "open" in one of the projects of this category ..." 

But at the bottom of your screenshot, the rule is restricted to "Technical Support (SUP)"

Does some of those linked issues are in another project or are they all in the SUP project ?

Let me know.

Frederic Chartrand

FMX Solutions - Gold Solution Partner

Hi Frederic,

thanks for pointing this out! Yes, some of the linked tickets are in other projects. I didn't think that the rule restriction affects linked tickets, too.

I have now moved the automation rule into the global automation and it seems to work as expected.

Thanks again!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Atlassian Community Events