Skip to content

Support Jira Webhook

Operations Summary

Method Endpoint Description
POST /api/support-jira-webhook/ Webhook

Webhook

1
2
3
4
5
6
http \
  POST \
  https://api.example.com/api/support-jira-webhook/ \
  Authorization:"Token YOUR_API_TOKEN" \
  webhookEvent="jira:issue_updated" \
  issue:='{}'
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
from waldur_api_client.client import AuthenticatedClient
from waldur_api_client.models.web_hook_receiver_request import WebHookReceiverRequest # (1)
from waldur_api_client.api.support_jira_webhook import support_jira_webhook # (2)

client = AuthenticatedClient(
    base_url="https://api.example.com", token="YOUR_API_TOKEN"
)

body_data = WebHookReceiverRequest(
    webhookEvent="jira:issue_updated",
    issue={}
)
response = support_jira_webhook.sync(
    client=client,
    body=body_data
)

print(response)
  1. Model Source: WebHookReceiverRequest
  2. API Source: support_jira_webhook
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
import { supportJiraWebhook } from 'waldur-js-client';

try {
  const response = await supportJiraWebhook({
  auth: "Token YOUR_API_TOKEN",
  body: {
    "webhookEvent": "jira:issue_updated",
    "issue": {}
  }
});
  console.log('Success:', response);
} catch (error) {
  console.error('Error:', error);
}
Field Type Required
webhookEvent string
issue object
issue.key string
issue.fields object
issue.fields.project object
issue.fields.project.id string
issue.fields.project.name string
issue.fields.project.key string
issue.fields.comment object (free-form)
comment object
comment.id string
changelog object
changelog.items array of anys
issue_event_type_name string

200 -

Field Type
webhookEvent string
issue object
issue.key string
issue.fields object
issue.fields.project object
issue.fields.project.id string
issue.fields.project.name string
issue.fields.project.key string
issue.fields.comment object (free-form)
comment object
comment.id string
changelog object
changelog.items array of anys
issue_event_type_name string