Why am I getting an error with JQL in Automation for JIRA?

Hi again,

  I'm setting up a simple schedule rule but am running into an error when it's run:


Screen Shot 2016-09-14 at 3.42.52 PM.png

I've removed all other types of checks at this time to narrow down the error. There's only one JQL now, but still get the error.

I've even tried the JQL is just: issuetype = "Dev sub-task" and the user condition check function provided in Automation but I still get the error. 

Screen Shot 2016-09-14 at 3.42.52 PM.pngScreen Shot 2016-09-14 at 3.45.17 PM.png

Help, I can't see what's wrong with the condition statement. 


1 answer

1 accepted

This widget could not be displayed.
Andreas Knecht Community Champion Sep 14, 2016

Hi Phyllis,

So you're using the wrong trigger in this case.  You're using "Scheduled", but what you want is "Scheduled JQL search" as the trigger with your JQL query.

Project automation - JIRA 2016-09-15 09-23-31.png

The problem with your rule is that the trigger doesn't return any issues - it simply runs at a given time.  Then the condition is used to stop rule execution (they don't lookup new issues for the following actions).  What you want is a trigger that looks up the right issues, and then have the action after that.  

That error is quite confusing though. I've raised https://codebarrel.atlassian.net/browse/AUT-22 to improve this!



Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 22, 2018 in Marketplace Apps

How a Marketplace app tech team is achieving gender diversity

Hello! My name is Genevieve Blanch, and I'm the Marketing Manager at RefinedWiki, creators of apps to give teams the tools to customize Atlassian platforms. Currently, 44% of the tech team at Re...

509 views 3 18
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you