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:
Does anyone know how I can achieve that?
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Where do you see it ? Is it on the same screen as this ?
I am a side admin and I do not see this
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Example for automating adding description:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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:
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.