Internet Explorer is no longer supported. Many things will still work, but your experience will be degraded and some things won't function. Please use a modern browser such as Edge, Chrome, or Firefox.

Create-Issue

Creates an issue in Jira.

Script usage:

Jira::Create-Issue(
	Title: <text>,
	Type: <text>,
	[Description: <text>],
	[FixFor: <text>],
	[JiraIssueId: <text>],
	[From: <text>],
	[Project: <text>],
	[Server: <text>],
	[UserName: <text>],
	[ApiToken: <text>]
);

Arguments:

NameFormatScript UsageUsage Notes
Title
text
Title
This argument is required.
Type
text
Type
This argument is required.
Description
text
Description
Fix for version
text
FixFor
Default value is "$ReleaseNumber".
Set issue ID to a variable
text
JiraIssueId
The JIRA issue ID can be output into a runtime variable. e.g. $JiraIssueId".
From project
text
From
Project name
text
Project
Not specifying will "Use project specified in connection".
Server
text
Server
Not specifying will "Use server URL from resource".
UserName
text
UserName
Not specifying will "Use user name from resource's credentials".
API Token
text
ApiToken
Not specifying will "Use API Token from resource's credentials".

Example:


# create issue for the HDARS project notifying QA that testing is required
Create-Issue(
    From: Jira7Local,
    Title: QA Testing Required for $ApplicationName,
    Description: This issue was created by BuildMaster on $Date,
    Type: ReadyForQA,
    JiraIssueId => $JiraIssueId
);

Log-Information "Issue '$JiraIssueId' was created in JIRA.";