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
Community Members
Community Events
Community Groups

How can I set the sprint for an issue with Automation for JIRA?

andreas Rising Star Apr 09, 2017

I'd like to be able to set the sprint for an issue automatically.

3 answers

1 accepted

0 votes
Answer accepted

You can simply do this with the 'Edit issue' action.  All you need to do is to add the Sprint field and then select from the available options!




@andreas we worked with weekly sprints.

Any thoughts to do this automation based on the "active sprint"?

Also other projects works withs sprints too, so I'm not sure if +1 will work given Jira might add sequentially sprint ID for any project.


andreas Rising Star Oct 13, 2017

Hey @Sebastián Delmastro,

This has actually gotten much easier in recent versions. I edited my original answer above. You can now just add the Sprint field to the simple form and pick from the options there!


Thanks @andreas didn't realize you added this feature. Nice work!

Hi @andreas,  which Jira version has this feature? the one I have is v7.11.2  and it doesn't have the auto-suggestion filed. Thanks.

@andreas  - 

Hi , can you advise how can I set via automation for Jira active sprint if on the drop down I can`t see the board of the project I am searching for ? I see only partial list 


Thanks ! 

What about if you run sprints in parallel? An issue I have is that when we have sprints running paralell in the same project, newly created issues always default to the older sprint, rather than the newer one. Is there a way in which is this possible?

Like # people like this

I also would like to know the same as Sam. Also, if I have multiple sprints in the backlog, how do I choose which one I want it to go to? 

Like adsd likes this

Facing same issue of assigning the latest sprint in automation when multiple are open.

adsd I'm New Here Aug 30, 2022

Same problem, would like to be able to choose any of the Sprints, not just active or next

2 votes
Deleted user Sep 10, 2019

I have tried, but not possible to add to current sprint. Next sprint is no problem. But I would like to add the issue to current sprint when commenting on an issue.

@[deleted] maybe you want to check permissions for active sprints. I have this rule that works with no problem on my Jira config (cloud) with the WebApp project.

Captura de Pantalla 2019-09-13 a la(s) 15.09.50.png

Hello, on my side I can set the rule to get the Sprint to 'Active Sprint (<myBoard>)', but in the logs it does display :

j.jpgI don' t know why the value itself cannot be seen by Automation? I have permissions everywhere, and the rule Actor as well.


Note: I also remarked that behind the scene, our Sprints were actually managed by a complex greenhopper mecanism, filling the customfield_10005 : 


Like # people like this

I have the same issue.

Any solution?

Also fighting the same issue. Is there any news here?

I resolved my issue by adding the "Automation for Jira" user to the permission schema with the role of "Manage sprints"

@andreas how can I configure Jira Automation to auto pick the most recent active sprint?

In my case, every sprint is planned for 4 weeks and 4th week I have 2 active sprints.

If "Sprint 1" is an active sprint, "Sprint 2" starts by end of 3rd week of "Sprint 1" and "Sprint 3" starts by the end of 3rd week of "Sprint 2".

I am expecting the Jira automation to assign the sprint to the most recent active sprint. (If I pick the next sprint it will not work as I have already started the sprint)

Suggest an answer

Log in or Sign up to answer