Mutation
mutation RegisterJiraWebhook($input: RegisterJiraWebhookInput!) {
registerJiraWebhook(input: $input) {
settings {
enabled
secretConfigured
registered
registrationId
registeredUrl
jql
}
secret
}
}Variables
{
"input": {
"url": "string"
}
}Response
{
"data": {
"registerJiraWebhook": {
"settings": {
"enabled": true,
"secretConfigured": true,
"registered": true,
"registrationId": "string",
"registeredUrl": "string",
"jql": "string"
},
"secret": "string"
}
}
}Mutations
registerJiraWebhook
Registers the webhook in Jira over the REST API and returns the signing secret exactly once.
MUTATION
registerJiraWebhook(input: RegisterJiraWebhookInput!): JiraWebhookSecret!Arguments
input
required
Values for the requested operation.
Returns
settings
The Jira webhook settings after the secret was generated.
secret
String!
The plaintext signing secret. Paste it into the Jira webhook configuration; it is never returned again.
Mutation
mutation RegisterJiraWebhook($input: RegisterJiraWebhookInput!) {
registerJiraWebhook(input: $input) {
settings {
enabled
secretConfigured
registered
registrationId
registeredUrl
jql
}
secret
}
}Variables
{
"input": {
"url": "string"
}
}Response
{
"data": {
"registerJiraWebhook": {
"settings": {
"enabled": true,
"secretConfigured": true,
"registered": true,
"registrationId": "string",
"registeredUrl": "string",
"jql": "string"
},
"secret": "string"
}
}
}