Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

issue fields condition: Can't run component as it requires issue(s) in the content

Srinivaas
Contributor
January 28, 2025

Facing below error while running the JIRA automation for sending email .

Can't run component as it requires issue(s) in the context. More than likely you have a trigger that doesn't insert issues into the rule chain. e.g. Scheduled rule not running a JQL query. Creating an issue does not put an issue into the context, you have to branch on it to update it.

1 answer

0 votes
Jack Brickey
Community Champion
January 28, 2025

Hi @Srinivaas , please share an image of your automation rule. Are you in fact running a schedule trigger?

Priyanka Agrawal May 8, 2025

I am getting the same error on running my automation.
Can you help me achieve the below using automations so that I don't get the error.

 

  1. When there is an incoming webhook, it creates an issue in a project ABC with type Event and copy the payload data to description.
  2. Search for issues in project XYZ where cfname = cfname in the payload
  3.  Add comment to the searched issue in XYZ project.
  4. Close the Event ticket that was created in ABC in step 1.


Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 8, 2025

Hi @Priyanka Agrawal 

You have already created a question for your scenario.  Please stay with that thread so the community can better help:

https://community.atlassian.com/forums/Jira-questions/Automation-logic-help/qaq-p/3016436

 

Hi @Srinivaas 

Did you solve this question yet?

As we cannot see your rule, and based on what you described, your rule is using a Scheduled trigger without any JQL and the rule is attempting to use issues.  You must either add JQL to the trigger or add a branch to issues and move your actions under that branch. 

Seeing your rule specifics will help identify the better of the two approaches.

 

Kind regards,
Bill

Like Jack Brickey likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
TAGS
AUG Leaders

Atlassian Community Events