I have done plenty of searching, trial & error on this already and I am completely stumped.
My question is exactly like this one https://community.developer.atlassian.com/t/update-issue-custom-field-value-via-api-without-going-forge/71161 except the solution they used already doesn’t work for me.
I am trying to update a custom field for an Epic, I can clearly see it when I retrieve my issue like so:
GET /rest/api/2/issue/XXX-0000?fields=summary,status,assignee,customfield_77777
The custom field presents itself in the response like so:
"customfield_77777": 77.0
However, when I attempt to update it using:
PUT /rest/api/2/issue/XXX-0000
{
"fields": {
"customfield_77777": 13.0
}
}
I just get back this error:
“Field ‘customfield_77777’ cannot be set. It is not on the appropriate screen, or unknown.”
Which honestly doesn’t make sense because I can edit it in the UI just fine. I edit the UI, run a GET and I see the value has updated.
Therefore, I started looking around and tried:
PUT /rest/api/3/app/field/customfield_77777/value
and I am met with:
“This API works only with fields provided by Forge apps.”
So basically I am stuck. I cannot edit the issue and I also cannot edit the custom value directly. So what do I do?
Just to be clear, this is an Epic. When I do the exact same thing with an Initiative it works just fine which just adds to my confusion.