Uploaded image for project: 'Jira Service Management Cloud'
  1. Jira Service Management Cloud
  2. JSDCLOUD-9753

REST API clients need more metadata to deal with Affected Services

    XMLWordPrintable

Details

    • 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.

    Description

      Expected:
      Given an an IT Service Management JSM project and a couple of services (Operations) in the project, when API clients make a call to:

      /rest/servicedeskapi/servicedesk/{serviceDeskId}/requesttype/{requestTypeId}/field
      

      then the client should have enough information to construct a valid service request.

      Actual:
      Currently, the API returns

      ...
      "validValues": []
      ...
      

      When customers set Affected Services as a mandotory field, this prevents clients from being able to construct a valid service request.

      Suggested solution:
      The result can be more hypermedia oriented with an href element to a secondary endpoint that is the authority on assets. Of course, clients must expect to use the URL as a search, rather than a complete enumeration.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              ibuchanan devpartisan
              Votes:
              40 Vote for this issue
              Watchers:
              12 Start watching this issue

              Dates

                Created:
                Updated: