Skip to main content
Skip table of contents

GraphQL Explorer

GraphQL is an open-source data query language for APIs. The GraphQL Explorer feature of Optimizer enables users to obtain information about Jira objects with by running custom queries. The query results are in JSON format

The following example demonstrates how to use GraphQL to list all Jira Projects and their properties.

CODE
{
  projects {
    id
    key
    name
    projectType
    projectCategory {
      name
      id
      __typename
    }
    lead {
      displayName
      id
      key
      username
      email
      active
      avatar
      __typename
    }
    lastActiveDate
    avatar
    links
    style
    __typename
  }
}
CODE
{
  screens {
    id
    name
    screenTabs {
      name
      id
      name
      customFields {
        name
        id
        __typename
      }
      __typename
    }
    projects {
      name
      id
      key
      __typename
    }
    workflows {
      displayName
      name
      description
      __typename
    }
    screenSchemes {
      name
      id
      __typename
    }
    deletable
    editable
    links
    __typename
  }
}

Similarly, this example query would retrieve a list of all Screen objects and their properties.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.