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. 

Thanks!

1 answer

1 accepted

0 vote
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!

Cheers,

  Andreas

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Jul 10, 2018 in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

176 views 0 4
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