Topics
Introduction
Let’s create an automation to move all encompassing issues to Done when version is moved to Done column in Release Management App.
Step 1: Create Jira Automation rule
Go to your project and click on Automation to create one.
For the trigger select Integrations and Incoming webhook.
Select “Issues provided by running the following JQL search“
Scroll down to “Can I provide additional data in my webhook?“ and click to expand.
Copy the example parameter and insert it into JQL statement above
Click Save.
Click New Action and select Transition Issue.
In Destination status select “Done“
Click Save and Turn on the rule.
Step 2: Create Release Automation rule
Open your board and click on Settings.
Select Automation and click Add rule.
Give it a Name, make status Active and scope equals Version.
Add Version moved trigger
Select Field condition and select Done for Status.
In a seperate tab open your automation rule details, namily incoming hook details. You would need the following information:
Go back to Release Automation rule and add Execute Webhook as Action.
Specify the following webhook details:
Method: <POST>
URL: copy from Jira Automation rule (https://automation.atlassian.com/pro/hooks/10a55cbf5891d2e793558887278650a768e2b070
)
Header: <Name: Content-type
, Value: application/json
>
Request Body: <{"data": {"releaseVersion":"{{entity.id}}"}}
>
Step 3: Trigger the Automation rule
Go to Release Management board and find any version that’s not Done from the respective Jira project. Assure there are some not completed issues.
Move this version to Done column.
Click on version again.
Congrats!
Once again click on Settings/Webhooks and find your hook.
Check the status is successful and find out details if you want.
Tip: Still have questions or need hands-on advice?