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

JIRA automation - Create service desk issues from release is not working

Garret Zhang
Contributor
January 11, 2024 edited

Hi, 

I created an automation that is giving me the, "The rule has been configured with components that require issues to be provided by the trigger. To run these components you must add a branch for this version or JQL. The following components require issues: Issue condition." error.

Here is my rule:

Screenshot 2024-01-11 114247.png

 

I am not sure if using the For each branch is right since it will create a service desk issue for every issue within the version. I only want a single service desk issue to be created for the entire release.

Thanks,

Garret

1 answer

1 accepted

2 votes
Answer accepted
Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2024

Hello @Garret Zhang 

I believe the problem relates to your Condition. That Condition is trying to check the Project field for an issue.

Is the rule scoped to a single project or multiple projects? If it is scoped to a single project then you don't need the Condition because the rule is triggered only for a Release from the project specified in the scope.

If the rule is scoped to multiple projects, then I'm not sure of the solution. I would have to research if there is a method to use in Automation to find out the Project to which a Release Version is associated.

Garret Zhang
Contributor
January 11, 2024

Rule scope for a single project, it worked as soon as I removed that condition. Thank you!!

 

Although, I don't understand why a simple condition would break this, even though it is redundant, but it doesn't make sense why that would break it... either way this worked! thank you!

Trudy Claspill
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
January 11, 2024 edited

Because the condition is trying to look at the Project field of an issue and your trigger is based on a Release Version. When the Condition is executed, the rule has no idea what issue to examine.

Like • 2 people like this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
atlassian, team '25, conference, certifications, bootcamps, training experience, anaheim ca,

Want to make the most of Team ‘25?

Spend the day sharpening your skills in Atlassian Cloud Organization Admin or Jira Administration, then take the exam onsite. Already ready? Take one - or more - of 12 different certification exams while you’re in Anaheim at Team' 25.

Learn more
AUG Leaders

Upcoming Jira Events