Details
-
Suggestion
-
Resolution: Unresolved
-
None
-
10
-
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
}
}
}