You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I want to send a notification after a ticket removed from open Sprint. Now I`m using trigger "Field value changed" and jql condition "Sprint in openSprints()". But this only triggered when a ticket "move to an open Sprint" rather than "move from an open Sprint".
I also tried JQL like {{#changelog.issue.Sprint}}{{fromString|EMPTY}}{{/}} in openSprint() but also not work.
So how could I use old value during JQL contiditon?
Dear @Bill Sheboy ,
Sorry for disturb, I found a reply from you, it mentioned "{{#changelog.sprint}}{{from}}{{endDate}}{{/}}", this is really what I need now, but when I try it on my side, it only returns "Sprint name" rather than "Sprint end date".
I also tried "{{#changelog.sprint.endDate}}{{from}}{{/}}", but it return nothing.
Do you have any suggestion, you are my saver!
}}
Hi @Camon Jie
I recall the last time I tried this it did not work with just the changelog. There are a couple of open defects for the changelog not working correctly for list fields like Sprint, Fix Version, etc. inside of automation rules.
There are specific smart values for added / removed values from fields for {{fieldChange}} and {{changelog}} and they do not work predictably for list fields: https://support.atlassian.com/cloud-automation/docs/jira-smart-values-issues/#--fieldChange--
One work-around builds on what @Trudy Claspill described:
Kind regards,
Bill
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @Bill Sheboy ,
Thanks a lot for your kindly explanation, I totally understand what`s happening now.
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Camon Jie
Welcome to the Atlassian community.
Can you show us the complete automation rule you have so far?
issue not in openSprints()
...will tell you if the current issue is not in an open/Active sprint at the current time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Trudy Claspill
Thanks for your advise. But actually your JQL will also triggered when issue removed from a "not-open Sprint" or from "backlog", not only from "active sprint".
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please show us your full automation rule.
We can offer better advice when we have the complete context of your rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Trudy Claspill
I`m trying to make this working, seem "{{#changelog.Sprint.startDate}}{{from}}{{/}}" does not return anything.
I just try to get old value of field "sprint" and get "startDate" or “State”, but seem I cannot find them from "#changelog"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Trying to find some way workaround:
Use condition "Advanced compare condition" :
{{#changelog.issue.Sprint.startDate.jiraDate}}{{fromString|EMPTY}}{{/}}
less than
{{now}}
But {{#changelog.issue.Sprint.startDate.last.jiraDate}}{{fromString|EMPTY}}{{/}} return nothing... How could I get sprint startDay via change log?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Working: {{#changelog.Sprint}}{{fromString|EMPTY}}{{/}}
Not working: {{#changelog.Sprint.startDate}}{{fromString|EMPTY}}{{/}}
So maybe I have to make “{{#changelog.Sprint}}{{fromString|EMPTY}}{{/}}” as a parameter and find a founction which can insert sprint name and return Sprint state/startDate...
Can anyone help with this...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.