"Custom Property" autofill for Versions/Packages
Troubleshooting?
Have issues running Release Automation rules? Please check our troubleshooting guide - https://releasemanagement.atlassian.net/wiki/spaces/RMC/pages/2522284033/Release+Automation+Explained#%F0%9F%86%98-Troubleshooting-Automation-Rules.
Topics
Introduction
In the previous example - https://releasemanagement.atlassian.net/wiki/spaces/RMC/pages/2922774561 - we showed how to update Release Date (standard property) for package/version with Automation.
The below example is a variation of the above to update Custom Property.
Steps 1-3: same as …
Step 4(a). Find out Custom Property ID
Find board ID - get it from Link for the board.
Find Custom Field ID
To do so Open API
Use Get Board with board ID from the previous step
Find customFields section and find the needed ID
Step 4(b): Add a WebHook (set Custom Property)
Create a new webhook that will follow the previous one
Name: Set Custom Property
Method PUT
Body:
{"<ADD_YOUR_PROPERTY_HERE>":"{{date.now(0,'yyyy-MM-dd','GMT+0')}}"}
Open Headers and add header
Key: Authorization
Value: JWT {{prevWebhookData.body.contextJwt}}
Save the webhook
Save the rule