Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,460,316
Community Members
 
Community Events
176
Community Groups

Jira Automation Release Version + Send Message in Slack

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:

Bildschirmfoto 2022-02-18 um 13.45.26.png

 

Thank you so much in advance!

 

- Vanessa

1 answer

1 accepted

0 votes
Answer accepted
Stefan Salzl Community Leader Feb 18, 2022

Hi @Vanessa 

Could you please add a screenshot showing the audit log?

 

Best
Stefan

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.

image.png

Stefan Salzl Community Leader Feb 21, 2022

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

Hello @Stefan Salzl 

No Problem at all!

Is this alright?

image.png

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)

image.png

 

Best

Stefan

Hi @Stefan Salzl 

 

I think we already had the same JQL in there.
It is still only showing me this one Issue.

 

Bildschirmfoto 2022-02-21 um 16.28.40.png

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

Stefan Salzl Community Leader Feb 21, 2022

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)

image.png

Stefan Salzl Community Leader Feb 23, 2022

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

Hi @Stefan Salzl 

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 

Like Stefan Salzl likes this
Stefan Salzl Community Leader Feb 23, 2022

Hi @Vanessa ,

Awesome. So happy it works now.

You are welcome. It was my pleasure. That´s what the community is for ;)

 

Best
Stefan

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events