# Tier and Lifecycle fields values on Graph API

**URL:** <https://community.developer.atlassian.com/t/tier-and-lifecycle-fields-values-on-graph-api/78789>\
**Category:** Compass\
**Tags:** graphql\
**Created:** [April 2, 2024, 1:52pm UTC](https://community.developer.atlassian.com/t/tier-and-lifecycle-fields-values-on-graph-api/78789 "2024-04-02T13:52:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![OVOFoyerServiceAccou](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@OVOFoyerServiceAccou](https://community.developer.atlassian.com/u/OVOFoyerServiceAccou)\
**Post date:** [April 2, 2024, 1:52pm UTC](https://community.developer.atlassian.com/t/tier-and-lifecycle-fields-values-on-graph-api/78789/1 "2024-04-02T13:52:38Z")

</div>

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

```auto
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
        }
      }
    }
  }
}

```

---

<div class="post-metadata">

**Author:** ![OVOFoyerServiceAccou](https://avatars.discourse-cdn.com/v4/letter/o/cc9497/32.png) [@OVOFoyerServiceAccou](https://community.developer.atlassian.com/u/OVOFoyerServiceAccou)\
**Post date:** [April 3, 2024, 3:25pm UTC](https://community.developer.atlassian.com/t/tier-and-lifecycle-fields-values-on-graph-api/78789/2 "2024-04-03T15:25:46Z")

</div>

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

```auto
... on CompassEnumField {
    value
}

```
