Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,124
Community Members
 
Community Events
165
Community Groups

Using Automation to Create an Issue and Put it straight onto board

Hi community,

I've been searching for this one for a while, and I think perhaps it's just not a feature that has been made yet..?

Monthly, I have a task that is created (using Automation), and this goes straight onto our backlog. However, I need it to go straight onto our board. When I try to transition the issue to a new status, I get the following 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"

If anyone has any ideas I would be really grateful.

Thanks

2 answers

1 accepted

3 votes
Answer accepted

I think that the problem is that the issue that is created in a step in the rule is not available in a later step which tries to transition that. The later step obviously expects an input issue, but probably you're using a trigger that emits issues.

So, the question is: how to fetch the issue you create and pass that along to the remaining steps?

Like # people like this

the solution for this problem is to use the "Branch rule / related issues" component. There you just have to select that it should be executed for the last created issue and you can do the transitions

Like # people like this

This worked - thank you so much

0 votes
Jack Brickey Community Leader Jun 20, 2022

Hi @Stella Taylor ,

You certainly should be able to achieve your goal. It would be good if you could provide a screenshot of your entire rule. If you were trying to transition the issue within the automation rule that creates the issue it may simply be a matter of inserting a refetch data action prior to the transition. However this is just a guess until I see the entire rule.

Hi Jack,

This is my current automation, just for creating the task. It's when I try to add the status transition afterwards is when I get the error.

image.png

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

Upcoming changes to epic fields in company-managed projects

👋 Hi there Jira Community! A few months ago we shared with you plans around renaming epics in your company-managed projects. As part of these changes, we highlighted upcoming changes to epics on...

14,169 views 34 44
Read article

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