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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I tried the above solution and used "remove" instead of "add". It gave error that the supported operations are only "Copy/add".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
First, I recommend creating a new question, with images of your complete rule and audit log details, and providing a link back to this thread. Otherwise only the people following this older thread will see your post.
Are you using Jira Cloud or Jira Server/Data Center? That impacts which features are available for the different versions of automation for Jira rules.
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.