Related queries and mutations in Performance and cost. Each has its own section.
Mutations
createJiraTicketForPerformanceInsights (mutation)
createJiraTicketForPerformanceInsights is a mutation in the Monte Carlo GraphQL API, in Performance and cost. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create a Jira ticket for a set of cost/performance insights.
Arguments
| Argument | Type | Description |
|---|---|---|
details | CreateJiraPerformanceInsightTicketInput! | |
findingKeyVersion | Int | Key version ('finding.keyVersion') of 'findingKeys'. Give with 'findingKeys'. |
findingKeys | [String!] | Stable keys ('finding.stableKey') of the selected findings. Give with 'findingKeyVersion'. |
insightKeys | [String!] | Keys of the selected insights, within 'threadId'. Give with 'threadId'. |
threadId | String | Run that surfaced the selected insights. Give with 'insightKeys'. |
Returns
CreateJiraTicketForPerformanceInsights
Example
mutation CreateJiraTicketForPerformanceInsights($details: CreateJiraPerformanceInsightTicketInput!) {
createJiraTicketForPerformanceInsights(details: $details) {
ticket {
id
provider
identifier
url
sourceThreadId
coveredInsightKeys
coveredFindingKeys
findingKeyVersion
createdTime
}
}
}Types used only by createJiraTicketForPerformanceInsights
createJiraTicketForPerformanceInsightsCreateJiraPerformanceInsightTicketInput
CreateJiraPerformanceInsightTicketInputInput object type. Jira ticket details for a performance insight.
| Field | Type | Description |
|---|---|---|
integrationId | UUID! | UUID of the Jira integration to create the ticket under. |
project | Int! | Jira project id. |
issuetype | Int! | Jira issue-type id. |
summary | String! | Ticket summary (must be non-empty). |
description | String | Ticket description (Markdown). |
fields | JSONString | Additional Jira fields keyed by field id (e.g. required custom fields). |
CreateJiraTicketForPerformanceInsights
CreateJiraTicketForPerformanceInsightsObject type.
| Field | Type | Description |
|---|---|---|
ticket | PerformanceInsightTicket |
Related types
JSONString, PerformanceInsightTicket, UUID
createLinearTicketForPerformanceInsights (mutation)
createLinearTicketForPerformanceInsights is a mutation in the Monte Carlo GraphQL API, in Performance and cost. Send it to https://api.getmontecarlo.com/graphql with an API key; see API authentication.
Status: Experimental
Create a Linear issue for a set of cost/performance insights.
Arguments
| Argument | Type | Description |
|---|---|---|
details | CreateLinearPerformanceInsightTicketInput! | |
findingKeyVersion | Int | Key version ('finding.keyVersion') of 'findingKeys'. Give with 'findingKeys'. |
findingKeys | [String!] | Stable keys ('finding.stableKey') of the selected findings. Give with 'findingKeyVersion'. |
insightKeys | [String!] | Keys of the selected insights, within 'threadId'. Give with 'threadId'. |
threadId | String | Run that surfaced the selected insights. Give with 'insightKeys'. |
Returns
CreateLinearTicketForPerformanceInsights
Example
mutation CreateLinearTicketForPerformanceInsights($details: CreateLinearPerformanceInsightTicketInput!) {
createLinearTicketForPerformanceInsights(details: $details) {
ticket {
id
provider
identifier
url
sourceThreadId
coveredInsightKeys
coveredFindingKeys
findingKeyVersion
createdTime
}
}
}Types used only by createLinearTicketForPerformanceInsights
createLinearTicketForPerformanceInsightsCreateLinearPerformanceInsightTicketInput
CreateLinearPerformanceInsightTicketInputInput object type. Linear ticket details for a performance insight.
| Field | Type | Description |
|---|---|---|
title | String! | Ticket title (must be non-empty). |
description | String | Ticket description (Markdown). |
teamId | String | Linear team ID; defaults to the integration's default team. |
CreateLinearTicketForPerformanceInsights
CreateLinearTicketForPerformanceInsightsObject type.
| Field | Type | Description |
|---|---|---|
ticket | PerformanceInsightTicket |
Related types
Source: The GraphQL API reference
This page is generated from the GraphQL schema on each release. Changes made in ReadMe are overwritten.
