Forums

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

Automation to move an issue into a sprint when reaching the due date

Marije Pierson
Contributor
October 18, 2022

I'm feeling a bit dumb because I don't understand how to fix the error I'm seeing, help would be appreciated!

This is the automation:

Screenshot 2022-10-18 at 11.49.15.png

Screenshot 2022-10-18 at 11.49.20.png

Screenshot 2022-10-18 at 11.49.27.png

Then, this is the error. With my test issue being IPDEV-451. It looks like IPDEV-451 passes but nothing happens:

Screenshot 2022-10-18 at 11.50.37.png

Am I supposed to be putting in some other kind of check to ignore the other issues that or a different type of condition check?

3 answers

1 accepted

0 votes
Answer accepted
Walter Buggenhout
Community Champion
October 18, 2022

Hi @Marije Pierson and welcome to the Community!

In you automation condition you are looking for issues in status to do. Then, later on, you are trying to transition them to that same status.

It might solve your problem to just choose edit issue instead and then just update the sprint field.

If you do have a transition going from the current to do status to that same to do (which is possible), than you should create a screen (in Jira admin > issues > screens), make sure the sprint field is on that screen and then associate that screen with this workflow transition. But I assume the first option would be a lot simpler to implement.

Hope this helps!

Marije Pierson
Contributor
October 19, 2022

I'll give that a try, thank you!

0 votes
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.
October 18, 2022

Hi @Marije Pierson -- Welcome to the Atlassian Community!

Two more ideas, in addition to what has already been suggested...

When you have a question about an automation rule, please post an image of your complete rule.  That may provide context for what is happening, and the structure of the details you have shown.

Next, I am trying to understand your use case and what problem you are trying to solve.  Are you intending to add issues to a future sprint or to the active one on a schedule?  For an active sprint, wouldn't that create problems for the plan the team has already created, based on what they believed was possible to finish in sprint planning?

Kind regards,
Bill

Marije Pierson
Contributor
October 19, 2022

Thanks Bill - by complete rule, do you mean this one?

Screenshot 2022-10-19 at 09.09.39.png

We occasionally have work that needs to be done by a future date and want it to be automatically added to the current sprint when the due date is reached. Currently, it can't be added to a future sprint because they're often not yet setup.

I know it's not a proper way to manage something like this but they're low volume and an easy way to not forget something. I could switch it to send a notification on the due date to remind us to add it to a sprint, I guess.

Like Bill Sheboy likes this
0 votes
Patricia Francezi
Community Champion
October 18, 2022

Hi @Marije Pierson 

 

Error message says there is a transition screen when you move to "to do" status. 

You can try to change the status mannually and check this. 

Automation dont fill fields when there is a transition screen

Suggest an answer

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

Atlassian Community Events