Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

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


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


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!


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
Community Members
Community Events
Community Groups

JQL branch not working when using trigger "Issue deleted"

Hi everyone,

I am dealing with a strange limitation of JIRA automation. Here is the simple rule:



I try to reach the epic issue of a subtask by using a JQL branching. When using this on a "issue created" trigger, all works well. But when, in this case, I use it in a "issue deleted" trigger, here is what I get:

Error searching for related issues. This is most likely because the following issues don't have a related issue of the type you specified. Try narrowing your search to only include issues that contain links to related issues:

IPUFRA-220: "((key = IPUFRA-96) AND (key != IPUFRA-220)) AND (project in (10034))" - An issue with key 'IPUFRA-220' does not exist for field 'key'.

The JQL is not working because of the clause (key != IPUFRA-220) which seems to be added automatically. But for this trigger, this will always results in this error! This clause is not necessary. Any workaround with this?


2 answers

1 accepted

0 votes
Answer accepted
Yvan Martin Atlassian Team Nov 08, 2020

Hi Cédric,


Developer from Automation here, currently there is a limitation with our JQL branch that continues to add that issue protection when that issue would have been deleted. This is generally necessary to prevent the current issue being processed twice, but in combination with an issue deleted trigger this check should no longer be called.

I've raised a public improvement here to address this, but it's not currently in our roadmap so there's no ETA on a fix:

Apologies for the inconvenience.


Hello Yvan,

Thank you for the raised improvement. Currently I found a workaround by calling a Automation webhook where I performed the necessary actions.


I have a similar issue. Could you please provide some detail on the workaround you implemented?

Thank you

- Alessandro

Hi Alessandro,

You have to send un web post request like this:


Where the body is defined as



After that, you create another rule to catch the post request, like this:



Where the webhook is defined as:


And then, you can do this:



Hope this helps,



Hi Cedric - may I ask for the full Webhook URL?  I am on Jira Cloud.

The only thing not working in my Automation Rule is that when a child ticket is moved, the source parent ticket’s “Original Estimate” value is NOT updated.

Thanks in advance.


Suggest an answer

Log in or Sign up to answer

Atlassian Community Events