• Icon: Suggestion Suggestion
    • Resolution: Low Engagement
    • None
    • API and Integrations
    • None
    • 2
    • We collect Jira Service Desk feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      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.

            [JSDSERVER-4364] Allow REST API to set null values for custom fields

            No work has yet been logged on this issue.

              Unassigned Unassigned
              ediel Elisa [Atlassian]
              Votes:
              7 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: