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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Update Sprint using post function


I made a new workflow and would like to use a transition to change assignee (working fine) and also the value of the "sprint" field. For some reason it is mentioned as custom field.
But it does not work. Is there any macro or variable I could use?

Kind regards

1 answer

0 votes

Hello Raúl,

Thank you for raising this question.

Actually, the Sprint field defines which Sprint your issues are added to in your Project board.

That been said, you must set an existing Sprint to properly execute the post function, however, since Sprints are temporary, I would like to understand what would be your goal using a fixed post function. Could you please provide us more details about it?

Please, refer to the documentation below if you would like to have more details about the information I provided:

Planning Sprints

Please, let me know if I can help you with anything else.

Hi Petterson,

together with the Atlassian support I found out, that it is already working with post functions, but you need to add the sprint ID instead of the sprint name.

So this question has been settled.

Kind regards

Thank you for your feedback, Raúl.

Have a nice weekend!

Hello, Raúl!

I am also with doubts about this question. I need set the Sprint field with the current sprint. How do you did this?

Hi Priscilla,

I guess this is not possible, because the ID of the current Sprint usually changes.
So you would need to update the workflow always when you open a new Sprint and close the old one.

Kind regards


Deleted user Apr 12, 2019

Sure, it IS possible and actually a very useful feature.

While sprints are "conceptually" temporary, they need not be.

I have an issue type that's handled Kanban style mixed in a project of other issues managed Scrum style.


To keep these separate I have a "kanban" sprint.

* All issues of the kanban issue type automatically get this sprint id

** These are manage on a Kanban board with a filter that only shows these issues

* The board for the Scrum work has a filter that omits the kanban work

** Therefore it never show the "kanban" sprint


Therefore this Sprint is basically invisible.

* It never moves. Get's opened nor closed. It's id never changes.

@Petter Gonçalves 


I have similar Request,

Is there a possibility that i can update the SPRINT  END DATE. with the last (LAST STORY END DATE) in the sprint ?


Checking possibilities using a script runner possibilities on a postfunction, 

Any Suggestions.?

Adding the sprint number did not work.  I tried:

  • 125
  • (125)
  • and the name verbatim 

The reason I need it is because I use the backlog feature to organize (and rank) many Jiras across projects which are kanban and scrum.  I have two permanent sprints which create nice groups in the backlog screen:

  1. On Deck - ready for developers
  2. In the hole - under review by product team, need more research and definition of requirements

Then the rest of the Jiras in the backlog have not been reviewed. 

The kanban teams also wanted an additional status to show that issues were reviewed: "Selected for Development."  So as product owner I transition things from "To Do" to "Selected for Development" ("Approved" transition).  I want the sprint to change to "On Deck" and assign it to the development lead.  Otherwise I have to do both individually. 

It would be nice to also change from "to do" to "Selected for development" and assign the lead when I drag and drop into the "On Deck" sprint, but I don't think that's possible.

(Note: I have the "Approved" transition locked to a project owner project role so only I can approve things.)

Suggest an answer

Log in or Sign up to answer

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