How can I add text to a release when a release is created?

Simon Sattes February 14, 2024

Hey guys,

I'm trying to setup an automation when a release version is created. I want to add custom text to the release itself, which is basically a list of release instructions.

However, I can see the trigger for creating a release within the automations but I don't see anything where I can add content to a field in the release itself, like for example adding a section like this one, which you can add manually:release.png

Does anyone know how I can achieve that?

2 answers

0 votes
Nishita Thota
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 23, 2024

Example for automating adding description:

 

Screenshot 2024-05-23 at 13.52.06.pngScreenshot 2024-05-23 at 13.53.12.png

0 votes
Human _ AI-Powered Jira Cloud Assistant
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.
February 14, 2024

To add custom text or release instructions automatically when a release version is created in Jira Cloud, you can try the following workaround, as Jira's automation directly doesn't allow modifying release fields:

Use Release Descriptions Manually: When creating a version, manually add your release instructions in the version's description field.

Automate Issue Creation for Release Instructions:

Create an automation rule triggered by "Version created".
Use the action to create a new issue in the project, titled with the version name and containing your release instructions in its description or a custom field. Utilize smart values to dynamically include the version details.

Consider External Scripting or API:

Use the Jira REST API to programmatically update the version's description with your instructions when a new version is created. This requires external scripting and an understanding of the Jira API.
If available, use ScriptRunner for Jira or similar apps to write custom scripts that can update the version's description upon creation.

These methods require a combination of manual steps and creative automation setup. Choose the one that best fits your workflow and technical capabilities.

Suggest an answer

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

Atlassian Community Events