capabilities.work

Create an Issue and Read It Back

A 5-step recipe with Jira. We can help you get access.

Recipe · 5 steps

Create an Issue and Read It Back

with Jira
Works with AI assistants

Create a Jira issue against validated project metadata and read it back.

  1. Read the target project and expand its issue types, confirming the project is visible to the caller before attempting a write.
  2. Retrieve the issue types available to the user so the supplied issue type name can be matched against a real type rather than guessed.
  3. Retrieve the priority vocabulary of the instance so the supplied priority name resolves to a configured priority.
  4. Create the issue in the resolved project. The description is sent as an Atlassian Document Format document, which REST API v3 requires for rich text fields.
  5. Read the created issue back by its key to confirm the stored summary, status, and issue type match what was submitted.
What you'll need to have ready
  • projectKey: The key of the project to create the issue in (e.g. PROJ).
  • summary: The one-line summary of the issue.
  • descriptionText: The plain text body rendered into the Atlassian Document Format description.
  • issueTypeName: The name of the issue type to create (e.g. Bug, Task, Story).
  • priorityName: The name of the priority to set on the issue (e.g. High).
  • labels: Labels to apply to the new issue.
For your developer

Arazzo workflow jira:create-issue-read-back, 5 operations: getRestApi3ProjectByProjectIdOrKey → getRestApi3Issuetype → getRestApi3Priority → postRestApi3Issue → getRestApi3IssueByIssueIdOrKey. Specs on APIs.io.