-
Suggestion
-
Resolution: Low Engagement
-
None
-
None
-
2
-
NOTE: This suggestion is for JIRA Service Desk Server. Using JIRA Service Desk Cloud? See the corresponding suggestion.
Problem Definition
REST API: Internal Server Error (500) setting custom fields to null on create request
Call: https://INSTANCE.atlassian.net/rest/servicedeskapi/latest/request
{ "serviceDeskId": "1", "requestTypeId": "2", "requestFieldValues": \{ "summary": "Request JSD help via REST", "description": "I need a new mouse for my Mac", "customfield_10106":null } }
Suggested Solution
The rest should accept the null entry or behave the same as if the field had nothing set.
Workaround
Leave the custom field empty ("customfield_10106":"") OR do not add it.
- relates to
-
JSDCLOUD-4364 Allow REST API to set null values for custom fields
- Gathering Interest
[JSDSERVER-4364] Allow REST API to set null values for custom fields
Resolution | Original: Won't Do [ 10000 ] | New: Low Engagement [ 10300 ] |
Status | Original: Closed [ 6 ] | New: Closed [ 6 ] |
Resolution | New: Won't Do [ 10000 ] | |
Status | Original: Gathering Interest [ 11772 ] | New: Closed [ 6 ] |
Workflow | Original: JAC Suggestion Workflow [ 3012537 ] | New: JAC Suggestion Workflow 3 [ 3647442 ] |
Workflow | Original: Confluence Workflow - Public Facing v4 [ 2665594 ] | New: JAC Suggestion Workflow [ 3012537 ] |
Support reference count | New: 2 |
Workflow | Original: JSD Suggestion Workflow - TEMP [ 2325980 ] | New: Confluence Workflow - Public Facing v4 [ 2665594 ] |
Status | Original: Open [ 1 ] | New: Gathering Interest [ 11772 ] |
Workflow | Original: JSD Suggestion Workflow [ 2053960 ] | New: JSD Suggestion Workflow - TEMP [ 2325980 ] |
Workflow | Original: JSD Suggestion Workflow - TEMP [ 2049231 ] | New: JSD Suggestion Workflow [ 2053960 ] |
Workflow | Original: JSD Suggestion Workflow [ 1609762 ] | New: JSD Suggestion Workflow - TEMP [ 2049231 ] |
Description |
Original:
h3. Problem Definition
REST API: Internal Server Error (500) setting custom fields to null on create request Call: [https://INSTANCE.atlassian.net/rest/servicedeskapi/latest/request|https://instance.atlassian.net/rest/servicedeskapi/latest/request] {code:java} { "serviceDeskId": "1", "requestTypeId": "2", "requestFieldValues": \{ "summary": "Request JSD help via REST", "description": "I need a new mouse for my Mac", "customfield_10106":null } } {code} h3. Suggested Solution The rest should accept the null entry or behave the same as if the field had nothing set. h3. Workaround Leave the custom field empty ({{"customfield_10106":""}}) OR do not add it. |
New:
{panel:bgColor=#e7f4fa} *NOTE:* This suggestion is for *JIRA Service Desk Server*. Using *JIRA Service Desk Cloud*? [See the corresponding suggestion|http://jira.atlassian.com/browse/JSDCLOUD-4364]. {panel} h3. Problem Definition REST API: Internal Server Error (500) setting custom fields to null on create request Call: [https://INSTANCE.atlassian.net/rest/servicedeskapi/latest/request|https://instance.atlassian.net/rest/servicedeskapi/latest/request] {code:java} { "serviceDeskId": "1", "requestTypeId": "2", "requestFieldValues": \{ "summary": "Request JSD help via REST", "description": "I need a new mouse for my Mac", "customfield_10106":null } } {code} h3. Suggested Solution The rest should accept the null entry or behave the same as if the field had nothing set. h3. Workaround Leave the custom field empty ({{"customfield_10106":""}}) OR do not add it. |