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

Return affected services Name and Tier on GET issue API

    XMLWordPrintable

Details

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

      Currently executing the GET issue API if there's a value for "Affected Service" it'll return the following information:

      "customfield_10030":[{"id":"ari:cloud:graph::service/xxxxxx-abce-xxxx-1234-xxx/1234abcd-xxxx-xxxx-xxxx-12ewed281xxx4"}]
      

      However, it's desired to know the Service Name and Tier.

       

      Workaround

      At the moment the way to get this information for a service is to query the GraphQL API. The GraphQL query to get the name and tier level of a service using the id returned by the GET issue query would be:

      query GetServicesById {
        devOpsServicesById(ids:["ari:cloud:graph::service/xxxxxx-abce-xxxx-1234-xxx/1234abcd-xxxx-xxxx-xxxx-12ewed281xxx4"]) {
          name
          serviceTier { 
            level 
          }
        }
      }
      

      Attachments

        Issue Links

          Activity

            People

              90325da67d46 Mohamed Hassan
              mdossantos Matheus
              Votes:
              128 Vote for this issue
              Watchers:
              24 Start watching this issue

              Dates

                Created:
                Updated: