Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 21: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.
×This is probably real simple and I'm just missing the plot, but I can't seem to get the Jira Automation trigger: Sprint Start or Sprint Complete to execute against sub tasks.
Does anyone have a way?
My JQL keeps coming up with only issue level not sub tasks. Even though the sub tasks have a sprint assignment and status is not equal to Done
I've tried this JQL too, and no go. I just get an invalid JQL response. Not sure where the error is or how to test a JQL with smart values.
sprint = {{sprint.name}} AND status != "Done" AND issuetype in subTaskIssueTypes()
My Sprint Complete code is similar. Only difference is that it's trying to unassign subtasks.
This is on a Next Gen project.
Any suggestions?
I found a workaround!
To my surprise this actually worked. Seems ridiculous, but at least I'm not blocked or doing a bunch of manual assigning.
Hi @JasonB3
Making a minor modification in the JQL should make this work
This is how I achieved this rule:
^ {{sprint.id}} is the unique identifier, as opposed to {{sprint.name}} which can be a variable.
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ste Wright
Nope that didn't work. Automation logs show that the JQL only returned Issues and No Subtasks.
Interestingly, I was trying to troubleshoot this and came across something similar with JQL and not using smart tags. See Sprint Query to find Subtasks Not working
Could it be possible that the issue isn't with smart tags or automation, but the JOIN between status and sprint?
PS, sorry for the late reply. Had to wait for a sprint cycle to complete to test.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @JasonB3
It should work - I have this built in a Next-Gen project in our environment; it's how I tested the above!
I just re-ran the rule and it works on our instance - albeit 1 of the 4 sub-tasks didn't get located by the rule. I've not been able to work out why.
Is it still not working for you? I would advise creating a new Next-Gen project to allow you to start/stop sprints repeatedly when trying to replicate the rule :)
Ste
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.