---
title: "Look up Jira data for the destination form"
method: POST
path: "/api/{org_id}/alerts/destinations/jira/setup"
tags: ["Alerts"]
---

# Look up Jira data for the destination form

`POST /api/{org_id}/alerts/destinations/jira/setup`

## Request

- Base URL: `https://api.openobserve.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.openobserve.ai/api/{org_id}/alerts/destinations/jira/setup`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/openobserve/apis/openobserve-api-http/docs/api/:org_id/alerts/destinations/jira/setup/post.ts> (a function with typed inputs; its response is checked against the schema)

Checks Jira credentials and returns the projects, issue types or create-screen fields the Jira destination form needs, or creates one test issue. Nothing is stored.

## Path parameters

- `org_id` string, required

## Request body

- object: Body of `POST /{org_id}/alerts/destinations/jira/setup`. No `Debug`: it carries the token.
  - `action` string, required: `connect`, `issue_types`, `fields` or `test_issue`.
  - `deployment` string, required: `cloud` or `data_center`.
  - `destination` string, nullable: A saved destination in this org whose token is used when `token` is empty.
  - `email` string
  - `fields` object
  - `issue_type_id` string
  - `priority_id` string
  - `project_key` string
  - `token` string, required
  - `url` string, required

## Response `200`

Success

- object

## Other responses

- `400`: Error
- `403`: Forbidden

---

[API](https://skmtc.dev/openobserve/apis/openobserve-api-http.md) - [All operations](https://skmtc.dev/openobserve/apis/openobserve-api-http/llms.txt) - [OpenAPI document](https://skmtc.dev/openobserve/apis/openobserve-api-http/revisions/0529b8a10252?raw)
