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,556,533
Community Members
 
Community Events
184
Community Groups

Version auto release

I already have an automation that creates a new version when the previous one is released. And I wanted to increase the automation to generate the release notes automatically. Also, I would like the version to be released automatically when all items within it are in "Released" status.

1 answer

1 accepted

1 vote
Answer accepted
Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 24, 2023

Hi @Emerson 

It seems you already have an automation rule.  For questions like this, please post images of your complete rule and the audit log details showing the rule execution.  Those will provide context for the community to offer suggestions.  Thanks!

What have you tried thus far to improve your rule to the new needs?  What is not working as you expect?

Kind regards,
Bill

Hi @Bill Sheboy 

There's my rule. Works really good, but still need some manual actions.

Captura de tela 2023-03-24 113606.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 24, 2023

Thanks for that information. 

What do you mean by "manual actions"?

From what you have described, you will need at least two different rules:

  1. Triggered on issue transition to Released, check if all other issues in the release are complete, and then release the version.
  2. Triggered on version released, do what you are currently doing, and somehow create release notes.  You are unclear what that means.  Within a rule, you can use an email to do that, if you wish.

Please note: because the second rule can be triggered by the first one, you will need to enable the "Allow Rule Trigger" option in the details section of rule #2.

Manual actions:
1- The creation of version notes within the version itself is done manually;
2- The release of the version is also done manually.

The image below is of the Release Notes screen within the version. I want it to be automatically created and populated with the issue fields I choose.

Captura de tela 2023-03-24 122154.png

Tried a basic automation and returned this:

Captura de tela 2023-03-24 123227.png

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 25, 2023 • edited

First thing, there is no built-in way to create release notes as you are doing.  I suggest investigating if there is a REST API call to do so from a rule.

Next for the error you show, your condition on Issues Fixed In Version only works for a version-related trigger.

Instead you would need to use a Related Issues condition, testing against the version which is in the trigger issue:

project = yourProjectName AND status != Released AND fixVersion = {{triggerIssue.fixVersion}}

Remember you are confirming all the issues in the release are done, and so your condition would be "None Match Specified JQL".

I tried a bunch of stuff to see what happens, but none of the worked.

Your JQL returned the same error as my last print.

It's really weird that it's that complicated... it's just a status check and update.

Bill Sheboy
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
Mar 25, 2023 • edited

My mistake as the smart value name is plural.   Please try this, ensuring that you use your project name in the JQL:

project = yourProjectName AND status != Released AND fixVersion = {{triggerIssue.fixVersions}}

If that does not work, please post images of your current rule and the audit log showing the details of the rule run.

Like Emerson likes this

Born and raised to bring joy and less manual work. Many many thanks!

Captura de tela 2023-03-25 232253.png

Like Bill Sheboy likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events