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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hello,
we are using an automation in Jira
-> if a version is released, the issue will be looked up and a message will be posted in Slack and Microsoft Teams.
It worked the whole time, now the problem appeared that the message always contains a different version (as it should) but the same issue, even though this certain Issue is not tagged with the Version.
Anyone an idea what is wrong?
We are using Jira Cloud and it is a company managed project.
Here is our Automation:
Thank you so much in advance!
- Vanessa
Hello @Stefan Salzl
Yes sure, this is the audit log from the day we faced the issue.
The config change was only that we disabled it once and enabled it again.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi @Vanessa ,
sorry for my incomplete requirement. Could you please show me the output of an audit log to see what gets processed?
Best
Stefan
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.
Hi @Vanessa
It seems the JQL for the lookupIssue isn´t correct. I couldn´t validate the JQL with latestReleasedVersion.
Please try to add () --> fixVersion = latestReleasedVersion()
That worked on my site (see screenshot)
Best
Stefan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I think we already had the same JQL in there.
It is still only showing me this one Issue.
Is it maybe the case, that it is always showing me this one certain issue because it has the latest release version and all other issues have been released a few minutes before that?
If so, would you know how to adjust the automation?
So if I release a version, it should look up this exact issue and post this in Slack and Teams.
I am sorry for the inconvenience,
all the best
-Vanessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
mkay....found the solution (which to me is reeeally silly but it´s documented in the documentation):
Note, the "latest" is determined by the ordering assigned to the versions, not by actual Version Due Dates.
Which means: depending of your ordering in the versions/release page the latestReleasedVersion() will always pick the one from the very top.
Nevertheless i was thinking about an even more fitting solution in your case:
As you definitly would like to stick to the version you just released it would be more acurate to use the version smartvalue directly in your JQL. Thus you REALLY refer to the version that triggered the rule (which is exactly what you would like to see i guess)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vanessa ,
Any update on this? could you test the suggested solution?
Please let me know if this works for you and in case your problem is solved please consider to accept the answer so this question is marked "solved" and other people in need can find the solution easier.
Best
Stefan
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 your patience!
I just tested it and it works perfectly fine! :)
Thank you so much for the help through the whole process.
All the best,
Vanessa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vanessa ,
Awesome. So happy it works now.
You are welcome. It was my pleasure. That´s what the community is for ;)
Best
Stefan
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.