Hi Rick,
I’ve been trying to reproduce this in a Forge App, however I’m not actually having any success with the following:
I can only seem to get the following error
setProperty Response: 400 Bad Request
{
errors: {},
errorMessages: [
'The JSON data provided for the property is not a valid JSON: olive.'
],
httpStatusCode: { empty: false, present: true }
}
Which is what I’d expect based on the docs at https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties/#api-group-issue-worklog-properties - because the property should be in the form of a key - which is a string, and a value which should be v JSON object.
Can you tell me:
- How are you making this call? are you doing this via a curl or some other method?
- When you retrieve the property data that you created in your example above, what is the response?
Cheers,
Mel