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,552,624
Community Members
 
Community Events
184
Community Groups

Jira automation to delete links created while in certain status

Hello,  I'm trying to figure out how I can use jira automation to remove any newly created links after a jira has moved to a particular status. 

For example, users link jira tickets from many projects to a particular project maintenance task.  Prior to maintenance that task ticket it moved to a maintenance status.  At that time I need to block any additional links.  The post functions and Transition properties I've tried to block links only blocks the maintenance ticket from linking out but does not block all projects from linking to the maintenance ticket.

I tried using a project automation branch rule for destination issue, if status equals Mantenance, then delete issue links.  But that deletes every single link, not newly created links that were attempted after the ticket was placed into Maintenance status.  Is there a way to accomplish this with jira automation?  Or any other suggestions would be appreciated.

1 answer

0 votes
Bill Sheboy
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.
Apr 17, 2023

Hi @Alicia Pena 

First thing, I am using Jira Cloud, not Server/Data Center version, and so I am suggesting an answer based on what I know about automation rules in general.  Onward...

One challenge with this scenario is that the links and status are independent: there is no information about one to the other.

You might accomplish your scenario by triggering a rule on issue linked (added), check the status, and then use the change log to determine if a link should be removed.

Kind regards,
Bill

I tried jira automation to do that.  But the only automation I can find deletes all links to the maintenance jira.  I haven't figured out a way to only remove the offending link.

Bill Sheboy
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.
Apr 20, 2023

To delete specific links with a rule, I believe you can use advanced edit with JSON, and just note the specific link to remove.  Please look here for the documentation on that syntax:

https://support.atlassian.com/cloud-automation/docs/advanced-field-editing-using-json/#Linking-issues

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.20.12
TAGS
AUG Leaders

Atlassian Community Events