Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to update to the description of a created version/release

Nguyễn Quang December 23, 2024

Hello team,

 I am creating an automation (#1) for automated ticket creation once a version/release is created. I also want to create another rule (#2) that triggers by a version/release is updated. Tu ensure that the version/ release was already created the tickets as expected by rule #1, from rule #2 I would like to check the description of existed version/ release before creating the tickets. How could I update the description of the version/ release by rule #1? thanks!

 

Brs,
Quang

1 answer

1 vote
Trudy Claspill
Community Champion
December 23, 2024

Hello @Nguyễn Quang 

To enable us to help you effectively please provide screen images showing the entirety of both rules.

Nguyễn Quang December 23, 2024

Hi @Trudy Claspill , I just want to update the description of version from rule after the 2 first conditions are passed. Here is the step:

- Trigger event by When: Version created

- Check if in the description of created version contains symbol: [RTM]

- Update to the description of the version. >> I need support here, how to do this.

 

Thanks!

Trudy Claspill
Community Champion
December 23, 2024

There is not an Edit Version action. Therefore you would need to interact with the REST API to modify attributes of the Version. 

To make a call to the REST API you would use this action:

https://confluence.atlassian.com/automation/jira-automation-actions-993924834.html#Jiraautomationactions-sendwebrequestSendoutgoingwebrequest

Information on the API endpoints that relate to release versions can be found here:

https://docs.atlassian.com/software/jira/docs/api/REST/9.14.0/#api/2/version

I have provided references applicable to Jira Data Center because in one of your other posts the image you provided of a rule made it clear you are working with Server or Data Center, not Jira Cloud. You may need to find different versions of the references that match the actual Jira version you are using.

Like # people like this

Suggest an answer

Log in or Sign up to answer