• 1
    • 2
    • Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      NOTE: This suggestion is for JIRA Service Desk Cloud. Using JIRA Service Desk Server? 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.

          Form Name

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

            Has this actually been fixed? Came across this while trying to look up something else, and have also found several posts like this where people say sending null works.

            Majken Longlade added a comment - Has this actually been fixed? Came across this while trying to look up something else, and have also found several posts like this where people say sending null works.

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

                Created:
                Updated: