You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
The following automation rule is failing and I don't know why.
Any help would be much appreciated :-)
The rule does the following:
The error I'm getting says:
Action details:
Issue condition
The following issues passed:
KYP-1006
Branch rule / related issues
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:
KYP-1006: "(key =) AND (project in (10205))" - Error in JQL Query: Expecting either a value, list or function but got ')'. You must surround ')' in quotation marks to use it as a value. (line 1, character 7)
Below a screenshot of the rule:
I wonder if this is a timing issue and some information is not yet available after the Create Trigger. Please consider trying to add a re-fetch action immediately after the trigger before any other logic.
Also, is this rule in a Classic or NextGen project?
Best regards,
Bill
@Bill Sheboy it's in a Next Gen project.
I added the "re-fetch" action and now it works. Awesome!! Thank you!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are welcome, and I am glad that helped you.
The re-fetch after the create issue trigger often helps, although it does slow down rules a few seconds. Please keep that in mind if you use any chained rules, where one leads to the execution of another rule.
__Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What error does the log give for this?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Liam Green I just added the error to the question.
Apologize for not adding it from the very beginning. Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.