I was looking into setting a default value for a custom field, specifically a forge custom field, but it seems that isn't possible atm: https://community.developer.atlassian.com/t/forge-custom-field-cant-edit-default-value-by-rest-api-3-field-fieldid-context-defaultvalue-api/54937
As a next best solution, I was hoping to be able to edit the value via an automation rule based on the Request Type.
I had a go using the edit issue fields action, and as the forge custom field doesnt show up in the drop down, I tried the additional fields section using this:
{
"fields": {
"Issue Type MultiLevel": "Back Office"
}
}
My audit log returned this error:
Error editing issues (The value must be a JSON object. (customfield_10178)).
I imagine I need to tweak the line where I am setting the value, any ideas on specifically what to change?