pub async fn create_issue(
configuration: &Configuration,
issue_update_details: IssueUpdateDetails,
update_history: Option<bool>,
) -> Result<CreatedIssue, Error<CreateIssueError>>
Expand description
Creates an issue or, where the option to create subtasks is enabled in Jira, a subtask. A transition may be applied, to move the issue or subtask to a workflow step other than the default start step, and issue properties set. The content of the issue or subtask is defined using update
and fields
. The fields that can be set in the issue or subtask are determined using the Get create issue metadata. These are the same fields that appear on the issue’s create screen. Creating a subtask differs from creating an issue as follows: * issueType
must be set to a subtask issue type (use Get create issue metadata to find subtask issue types). * parent
must contain the ID or key of the parent issue. Permissions required: Browse projects and Create issues project permissions for the project in which the issue or subtask is created.