• Approval
  • Customer
  • Customer Request
  • Customer Transition
  • Jira Service Management Application
  • Organization
  • Organization Service Desk
  • Portals
  • Queue
  • Queue Settings
  • Request Attachment
  • Request Type
  • Request Type Permissions
  • Service Desk
  • Service Desk Customer
  • application-properties
  • applicationrole
  • attachment
  • avatar
  • cluster
  • comment
  • component
  • configuration
  • customFieldOption
  • customFields
  • dashboard
  • email-templates
  • field
  • filter
  • group
  • groups
  • groupuserpicker
  • index
  • index-snapshot
  • issue
  • issueLinkType
  • issuesecurityschemes
  • issuetype
  • issuetypescheme
  • jql
  • licenseValidator
  • monitoring
  • mypermissions
  • mypreferences
  • myself
  • notificationscheme
  • password
  • permissions
  • permissionscheme
  • priority
  • priorityschemes
  • project
  • projectCategory
  • projects
  • projectvalidate
  • reindex
  • resolution
  • role
  • screens
  • securitylevel
  • serverInfo
  • session
  • settings
  • status
  • statuscategory
  • terminology
  • universal_avatar
  • upgrade
  • user
  • version
  • websudo
  • workflow
  • workflowscheme
  • worklog
  • Assets - AQL
  • Assets - Analytics
  • Assets - Archived Objects
  • Assets - Attachments
  • Assets - Comments
  • Assets - Icons
  • Assets - Index Configuration
  • Assets - Object
  • Assets - Object Archive
  • Assets - Object Attribute
  • Assets - Object Connected Tickets
  • Assets - Object Restore
  • Assets - Object Schema
  • Assets - Object Type
  • Assets - Object Type Attribute
  • Assets - Progress
  • Assets - QR Code
  • Assets - Status Types
Server
Jira Service Management / Reference / REST API

Assets - Analytics

Postman Collection
OpenAPI
GET

Get schema analytics

Get the shape of the data held in each schema.

Forge and OAuth2 apps cannot access this REST resource.

Request

This request has no parameters.

Responses

Returns a list of analytics for each schema.

application/json

SchemaStatsEntry
GET/assets/1.0/analytics/schema
1 2 3 curl --request GET \ --url 'http://{baseurl}/rest/assets/1.0/analytics/schema' \ --header 'Accept: application/json'
200Response
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 { "schemaId": 2154, "totalObjectCount": 2154, "totalObjectTypeCount": 2154, "totalAttributeCount": 2154, "numberOfObjectsLinkedToIssues": 2154, "numberOfObjectsWithUniqueAttribute": 2154, "numberOfArchivedObjects": 2154, "totalAttributeValueCount": 2154, "numberOfAutomationRules": 2154, "numberOfAutomationIfs": 2154, "numberOfAutomationWhens": 2154, "numberOfAutomationThens": 2154, "maxNumberOfObjectsByObjectType": 2154, "averageNumberOfObjectsByObjectType": 2154 }

Rate this page: