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:
What do you mean by forge custom field? Is it a drop down field or multi cascading field ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If you have two level then following should help you. (test1 and test2 are just example names you can replace them with your option names)
{
"fields": {
"customfield_10178": { "value": "test1", "child": { "value" : "test2"} }
}
}
If its only one level then you can remove child
{
"fields": {
"customfield_10178": { "value": "test1" }
}
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.