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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Issue creation and transition Automation in one rule

Edited

HI community , 

I have an issue creating an automation . 

I need to create a scheduled issue ( every day ) with a specific summary in the specific project, and transition that newly created issues to " To do" status .

When applying the transition , I get this error:

Error

  • The rule has been configured with components that require issues to be provided by the trigger. You need to use the option to run JQL to provide issues. The following components require issues: Transition issue 


    Thanks in advance 
    Sona E

 

3 answers

1 accepted

1 vote
Answer accepted

Sona,

The other commenters are pointing out that the "Transition Issue" component needs to run within a section that refers to one or more issues.

Even though the "Create Issue" component ran right before it, your "Transition Issue" isn't nested in a branch or section of that component.  Instead it's running under the Schedule trigger itself, which doesn't mention any specific issue.

So, you have to use the Branch Rule / Related Issues component, and write some JQL that goes and fetches the ticket you just created.  Then you can put the "Transition Issue" component in the sub-components section of that branch.

Here's an example of my own, yours will look something like this (although the JQL will need to change).  Notice I'm trying to match on the summary text, and also looking at tickets created since yesterday.

Image 2022-02-04 20-30-25.png

Thank you so much for the answer . Will give it a try , though already sure it is what I looked for .

Regards

Hey all, 
I was able to accomplish a similar automation by branching off of 'all created issues':

jira_automation_transition_status.jpg


jira_automation_branch_rule.jpg

MUCH better solution. Thanks!

0 votes
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 31, 2022

Hi Sona,

Can you share your complete rule? 

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Jan 31, 2022

So you need to add a JQL statement so it knows when issues to use. 

So which cards if they exist in the scheduled trigger will cause cards to get created. You need to have a condition more or less. 

Dear John,

In the scheduled trigger the action is to create an issue every day at 9 am in the specific project with the same summary. So there is no card till that , and I need an action to move this newly created card from backlog to -to do. So what jql do I need to write If there is no predefined card ?

John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Feb 01, 2022

When you are creating the card, are you populating the Component field? It needs certain values in that field fo do the Transition. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events