POST/api/v1/jira/draft

Draft a Jira issue from an item

The AI draft of an issue (summary, description, issue type, priority, assignee, due date, labels) from an item on a page (slug with block, offset or selection) or a Team line (fact_id), with the projects, issue types, priorities and people to pick from. Creates nothing. When AI can't run, the draft is the item as written (ai: false, note says why). Needs your own Atlassian connection (409 otherwise).

API token required30 per minute per IP

Guide: Jira

Code samples and Try it

Request body

#

application/json, required

  • slugstring

    Matches ^[A-Za-z0-9_-]{1,64}$.

  • blockstring

    Matches ^b-[0-9A-Za-z_-]{1,40}$.

  • offsetinteger

    From 0 to 5,000,000.

  • selectionstring

    Up to 5,000 characters.

  • fact_idstring

    Matches ^[0-9a-f]{24}$.

  • projectstring

    Up to 20 characters.

Responses

#
  • 200OK.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.