Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×I am hoping to add a post function for the transition from any status to In Progress that would automatically assign the issue to the current sprint. This would be helpful to ensure that issues are not lost. Occasionally, someone will start working on fixing a bug without telling the rest of the team and will mark it as "in progress."
If need be, I am willing to update this post function every time we switch between sprints (although I would prefer not to need to do that.) I already tried adding a post function with the sprint name + ID and kept getting an error message when I moved issues from to do to in progress.
Do you have any existing script to start with? I would assume you are using ScriptRunner?
Hi @brbojorque
I was able to use a post-function to automatically assign someone to the issue without needing to write a script. I thought there might be a simple solution that would let me at least enter the name/id of the sprint and update it every two weeks.
I haven't used ScriptRunner before, so I will need to take some time to learn how to write scripts in Jira that if that is the only option.
-Miriam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any update on this question? Can issues be auto-assigned to the Current sprint in a post-function in Jira Cloud? Asking for a friend (user) :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have the same need. Would expect to find a postfunction, but it doesn't seems as an option.
Anyone who have this problem solved?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
At least in Jira Server, you can use ScriptRunner post-function to add Task to current sprint.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You guys can set it by `Automation`. It is really easy.
Check it out.
1. Project Settings -> Automation -> Create Rule
2. Select `Issue transitioned` as new Trigger, and Save
3. Select `Open` as From status, and `In Progress` (Probably you need to create multiple automation rule if you want from `any status` to `In Progress`
4. Select `New action` as component, and select `Edit Issue`
5. Select `Sprint` field from dropdown, and select `Active Sprint`, and Save
6. Add name, and Turn On
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Jay. This solution works for Cloud, unfortunately not for local hosted installations.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.
Register Now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.