Update custom field value ( apps )

Hello,
I tried to update issue custom field value created by my own addon with the rest api “PUT /rest/api/2/app/field/{fieldIdOrKey}/value” but the reponse is always 403 FORBIDDEN any suggestions ? thank you

1 Like

can you share the content of your request and by which means you have sent the request? What is your authentication method?

1 Like

the content :

{
  "updates": [
    {
      "issueIds": [
        10001,
        10002
      ],
      "value": "my value",
      "customField": "customfield id"
    }
  ]
}

and i sent it via the app : atlassianHostRestClients.authenticatedAsAddon()…

Hey @AmineMekki1,

That API is designed to work with custom fields provided by Forge apps, and it seems you have a Connect app. To use it, you would need a Forge app with one of these modules:

To update fields with a Connect app or any other client, you can use the regular Edit issue REST API.

Let me know if you have any further questions.

2 Likes