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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Thursday in Marketplace Apps

Calling all developers––You're invited to Atlas Camp 2018

 Atlas Camp   is our developer event which will take place in Barcelona, Spain  from the 6th -7th of   September . This is a great opportunity to meet other developers and get n...

355 views 0 6
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