Tier and Lifecycle fields values on Graph API

Hi,
I am using the GraphQL API to get back Compass Components.
There does not seem a way to get the Tier and Lifecycle fields values.
You can get back the meta deta like Name/Description/Options etc but not the value for the component.
Am I missing something?

Here is my query which gets back everything else ok
Note that the Explorer only offers definition as a child of fields, no reference to a value

query searchCompassComponents($cloudId: String!, $query: CompassSearchComponentQuery!) {
  compass {
    searchComponents(cloudId: $cloudId, query: $query) {
      ... on CompassSearchComponentConnection {
        nodes {
          link
          component {
            id
            name
            description
            typeId
            ownerId
            labels {
              name
            }
	        fields {
              definition {
                name
              }
            }
          }
        }
        pageInfo {
          hasNextPage
          endCursor
        }
      }
      ... on QueryError {
        message
        extensions {
          statusCode
          errorType
        }
      }
    }
  }
}
1 Like

Had a positive response back from Atlassian. Turns out probably a gap in my Atlassian GraphQL knowledge which are many.

Just need to included this within the fields block

... on CompassEnumField {
    value
}
2 Likes