Skip to main content

Create issue

Create an issue and return its key.

Command in the Jira toolkit · id ooa.jira/create_issue · 15 inputs (3 required), 3 outputs

Inputs​

InputTypeRequiredDefaultWhat it is
Site address (URL)StringYesSite URL, e.g. https://yourcompany.atlassian.net.
ProjectStringYesProject key.
Issue typeStringNoTaskIssue type name, e.g. Task, Bug, Story.
SummaryStringYesSummary.
DescriptionStringNoDescription.
Extra fieldsDictionaryNoMore fields, e.g. {"priority": {"name": "High"}, "customfield_10010": "Gold"}.
EmailStringNoAccount email (Cloud).
API tokenCredentialNoAPI token from the vault (Cloud).
Personal access tokenCredentialNoPersonal access token (Data Center). Or leave it empty and choose a connection that signs in, which gets and renews the token.
PriorityStringNoPriority name, e.g. Highest, High, Medium, Low, Lowest.
AssigneeStringNoAssignee: an email address (looked up), a Cloud account id, or a Data Center user name; the project default when empty.
LabelsListNoLabels, e.g. ["invoice", "urgent"].
ComponentsListNoNames of existing project components.
Due dateStringNoDue date, yyyy-MM-dd.
Parent keyStringNoParent issue key, for a sub-task.

Outputs​

OutputTypeWhat it is
keyStringIssue key, e.g. OPS-123.
idStringIssue id.
urlStringLink to the issue in the browser.