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

Simon Sattes
Contributor
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?

3 answers

1 vote
Ignacio Aredez GenAI Expert
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.

0 votes
Mirela Todorova October 13, 2024

Hi @Simon Sattes 

could you please let me know where did you come across adding a section like the screenshot you mentioned and how to do that, as I've been told you cannot add sections to the releases, but if there is a way I will be super rateful

Simon Sattes
Contributor
October 13, 2024

Hi Mirela,

you mean the screenshot with the section in my original post? If I open a release version page in Jira, it's already visible from the start for me.

Mirela Todorova October 14, 2024

Where do you see it ? Is it on the same screen as this ?
I am a side admin and I do not see this  Screenshot_43.png

Simon Sattes
Contributor
October 14, 2024

If you click on a release in this list (on the release name in the version column), you will get to the release detail page where you should be able to see it.

Mirela Todorova October 24, 2024

@Simon Sattes do you mean those options ? Screenshot_15.png

Simon Sattes
Contributor
November 4, 2024

No, I mean this thing here above the issue list:

release.png

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

Simon Sattes
Contributor
October 13, 2024

Sorry somehow the notification about this answer slipped through... Thanks, I will give that a try, nice idea with calling the API in the automation!

Simon Sattes
Contributor
October 18, 2024

I tried it now, but unfortunately it doesn't seem to be possible to add a new section here in the content area via API:

Bildschirmfoto 2024-10-18 um 11.46.05.png

Suggest an answer

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

Atlassian Community Events