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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Automation rule: trigger Issue is created --> transition the Parent Edited

The following automation rule is failing and I don't know why.
Any help would be much appreciated :-) 

The rule does the following:

  1. Trigger: when an issue is created
  2. If the issue is a Subtask
  3. Then check if the Parent is in the status [QA]
  4. If so, then move the Parent to the status [Review]

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:

image.png

2 answers

1 accepted

2 votes
Answer accepted

Hi @Gonzalo Benitez de lugo 

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!

Like # people like this

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

0 votes
Liam Green Community Leader Dec 01, 2020

Hi @Gonzalo Benitez de lugo 

What error does the log give for this?

@Liam Green I just added the error to the question. 

Apologize for not adding it from the very beginning. Thanks!

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

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 ...

7,158 views 8 28
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you