I am trying to create an automation the identifies the number of issues and their Story Point sum that have been added / removed from a sprint; i.e., my JQL is
issueFunction in removedAfterSprintStart("{{boardName}}", {{sprintId}}) AND (labels is EMPTY or labels not in(Placeholder))
issueFunction in addedAfterSprintStart("{{boardName}}", {{sprintId}}) AND (labels is EMPTY or labels not in(Placeholder))
This is project-scope automation and, while the Board filter does include issues from a second project, I am only interested in the tickets in the same project
* Board filter includes issues in ProjectA and ProjectB
* Automation is in ProjectA and I am only interested in ProjectA issues
No results are returned when the automation fires based on a trigger (eg Sprint closed)
Results are returned when scheduled and manually triggered. This, unfortunately, means I need to update the sprintId variable and manually trigger at each sprint close.
Any thoughts why the JQL wouldn't return results when automatically triggered?
Hello @Steve Tedeschi
Can you provide screen images that show your entire rule?
And can you provide images of what is written in the rule's audit log when it executes?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for that additional information.
You said that your rule was triggered by an event like Sprint Closed, but the rule image you shared does not use that trigger.
Can you share images of the rule when you use that trigger, and the output in the rule audit log when such a rule executes?
Also can you provide the details of the Create Variable actions, please?
I would also suggest that you should add Log actions to print into the rule audit log the value of each Variable that you created to confirm it has the value you think it should.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Trudy Claspill - Hoping I answer your questions....
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FYI - I've even tried moving the JQL from dynamic to calling a filter which executes the same JQL. Unfortunately, same result. No results found.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the additional information.
Can you share the details of the Create Variable actions, so that we can see what you are using to set the variables?
I would also suggest that you should add Log actions to print into the rule audit log the value of each Variable that you created to confirm it has the value you think it should.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
My goal is to automate capturing sprint metrics across development teams so they can be reported in aggregate. Metrics include number of issues and sum of story points at
Originally tried to do numbers 2, 3, and 4 in one automation, but was only getting data for the first "event" (#2). That automation has since been broken into 4 separate automations, each focusing on one of the four events listed above. Since the first two are triggered when a sprint starts / completes, the jql (details below) doesn't include an issueFunction and return results as expected. Originally tried triggering numbers 3 and 4 on sprint completed event, but the results were empty. I have cloned the automation and triggered it by commenting on a specific issue for easier debugging.
sprintEvent:
boardName: Name of the sprint board used in the project
sprintId:
jql
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.