Details
-
Bug
-
Resolution: Unresolved
-
Low
-
None
-
1
-
Severity 3 - Minor
-
Description
Issue Summary
Currently SET worklog property API : https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issue-worklog-properties/#api-rest-api-3-issue-issueidorkey-worklog-worklogid-properties-propertykey-put accept a string value for property value which is incorrect.
Steps to Reproduce
- Send the below request to Set worklog property api :
rest/api/3/issue/{issueIdOrKey}/worklog/{worklogId}/properties/{propertyKey}'
with a String value "a".
Expected Results
It should throw a 400 error explaining the proper format. Sample below.
{ "value": { "system.conversation.id": "b1bf38be-5e94-4b40-a3b8-9278735ee1e6", "system.support.time": "1m" } }
Actual Results
It successfully accepts the String value.
Workaround
Currently there is no known workaround for this behavior. A workaround will be added here when available