Plugin procedures can be used in procedure steps, process steps, and pipeline tasks, allowing you to orchestrate third-party tools at the appropriate time in your component, application process, or pipeline.
Depending on your plugin configuration and how you run procedures, the Differences in plugin UI behavior. field may behave differently in the CloudBees CD/RO UI. For more information, refer to |
CreateIssues
Creates one or more Jira issues.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project key |
Required. Jira project key. For example, an issue prefix such as
|
||
Issue type |
Required. Jira issue type. Examples include:
|
||
Issue summary |
Issue short description/title. Maximum length of the summary is
|
||
Assignee name |
|
||
Labels |
Comma-separated list of issue labels. For example,
|
||
Affects versions |
Comma-separated list of affected versions. For example,
|
||
Fix versions |
Comma-separated list of versions where the issue will be resolved. For example,
|
||
Description |
Full description of the issue, the steps to reproduce, and the expected results. Markup can be used here, for example:
|
||
Additional parameters |
Additional parameters for the Jira issue must be specified in JSON. For example:
Example formats for this field are:
|
||
Result property |
Property sheet to store results. |
||
Result format |
Format to store results, JSON or property sheet. Property sheet is used by default. For more information, refer to Result format. |
||
Create Summary Link? |
If selected, a report with a summary and links are attached to the pipeline summary and job summary. |
||
Summary link property |
Property to store the generated report and attached to the pipeline summary and job summary. The default value is |
||
Summary link title |
Title for the link to download the report. The default title is |
CreateNewVersion
Creates a new version in the specified project.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project key |
Required. Jira project key. For example, an issue prefix such as
|
||
Version name |
Required. Jira version to be created. |
CreateProject
Creates Jira Project.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project key |
Required. Jira project key. For example, an issue prefix such as
|
||
Project name |
Required. The name of the project. |
||
Project description |
A brief description of the project. |
||
Project category ID |
The ID of the project’s category. |
||
Assignee |
Required. The default user assigned when creating issues for this project. |
||
Project type key |
Required. The project type, which defines the application-specific feature set. If you do not specify the project template you must specify the project type. Valid values are |
||
Project template key |
Required. A predefined configuration for a project. The project template key must be compatible with the project type entered in Project type key.
|
||
Project info URL |
A link to information about this project, such as project documentation. |
||
Avatar ID |
An integer value for the project avatar. |
||
Project lead |
Required. * For servers up to Jira version 8.0: Provide the username of the project lead. A user with the specified username must already exist in the system.
|
GetIssues
Retrieves issues from Jira using the provided JQL or previously saved filter.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Jira filter ID |
The ID of an existing Jira filter to use for querying.
|
||
Jira Query (JQL) |
JQL to search issues. For more information on JQL queries, refer to the Jira JQL documentation.
|
||
Max results |
Maximum number of Jira issues to retrieve.
|
||
Result format |
Format to store results, JSON or property sheet. Property sheet is used by default. For more information, refer to Result format. |
||
Result property |
Property sheet to store results. Retrieved Jira issues are saved under this property if Result Format is selected. By default, this is |
||
Create summary link? |
If selected, a report with a summary and links are attached to the pipeline summary and job summary. |
||
Summary link property |
Property to store the generated report and attached to the pipeline summary and job summary. The default value is |
||
Summary link title |
Title for the link to download the report. The default title is |
||
Field list to save? |
Additional comma-separated fields that should be saved within issue property. For example, |
GetProjectVersions
Returns one or more Jira project versions based on user-specified criteria.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project key |
Required. Jira project key. For example, an issue prefix such as
|
||
Version names |
Comma-separated list of version names. This can be useful if you want to retrieve information about specific versions (for example, |
||
Version status |
Retrieves only the versions with the specified status. |
||
Max results |
Maximum number of Jira issues to retrieve.
|
||
Order by |
Name of the field to sort the result list by. Prepend a minus sign to use descending order. Values: |
||
Show issues count by status |
If selected, a count of issues is included in the version’s info and HTML report, in order by status. |
||
Result format |
Format to store results, JSON or property sheet. Property sheet is used by default. For more information, refer to Result format. |
||
Result property |
Property sheet to store results. Retrieved Jira issues are saved under this property if Result Format is selected. By default, this is |
||
Create summary link? |
If selected, a report with a summary and links are attached to the pipeline summary and job summary. |
||
Summary link property |
Property to store the generated report and attached to the pipeline summary and job summary. The default value is |
||
Summary link title |
Title for the link to download the report. The default title is |
||
Field list to save? |
Additional comma-separated fields that should be saved within issue property. For example, |
LinkIssues
Links Jira issues to jobs and pipelines based on provided Jira issue properties.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project key |
Provide the project key used by the Jira project.
For example, if an issue ID in the project is
|
||
Perl regex filter |
Perl-compatible regular expression to filter issue IDs from source control logs. For example,
|
||
Property to parse |
Provide the property or property sheet used to search for issue IDs. If this field is blank, the default property
|
||
Result format |
Format to store results, JSON or property sheet. Property sheet is used by default. For more information, refer to Result format. |
||
Result property |
Property sheet to store results. Retrieved Jira issues are saved under this property if Result Format is selected. By default, this is |
||
Summary link property |
Property to store the generated report and attached to the pipeline summary and job summary. The default value is |
||
Summary link title |
Title for the link to download the report. The default title is |
MarkVersionAsReleased
Marks a specified version as released in the specified project.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project key |
Required. Jira project key. For example, an issue prefix such as
|
||
Version name |
Required. Jira version to be marked as released. |
UpdateIssues
Updates one or more Jira issues or add comments to them. When the procedure runs, the first issue key parameter is checked. If it is provided, the single Jira issue is updated. If JQL is provided, the procedure queries the issues and updates them, and then searches for the issues in the property. If no issues were found with the provided JQL, the procedure finishes and does not update any Jira issues.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Property to read defects |
Provide the path to the property if the property containing the list of defects to update is somewhere other than To set this property, run:
|
||
Issue key |
Provide an issue key to update one single issue. If this field is provided, JQL and Property to read defects will be ignored. |
||
JQL |
Provide JQL to search for the issues to update. If this field is left empty, the procedure looks for issues to update in the Property to read defects (the old logic is enabled). If no issues were found with the provided JQL, the procedure finishes without updating anything. For example: |
||
Issue summary |
Issue short description/title. Maximum length of the summary is
|
||
Issue type |
Jira issue type. Examples include:
|
||
Assignee name |
|
||
Labels |
Comma-separated list of issue labels. For example,
|
||
Affects versions |
Comma-separated list of affected versions. For example,
|
||
Fix versions |
Comma-separated list of versions where the issue will be resolved. For example,
|
||
Description |
Full description of the issue, the steps to reproduce, and the expected results. Markup can be used here, for example:
|
||
Additional parameters |
Additional parameters for the Jira issue must be specified in JSON. For example:
Example formats for this field are:
|
||
Transition action |
Action to change the Jira issue status, for example: |
||
Comment |
Comment to add to the found Jira issues. If left blank, no comment will be added. Markup can be used here. For example:
|
||
Add field values |
If selected, issue fields that can contain multiple items (for example, |
||
Result property |
Property sheet to store results. |
||
Result format |
Format to store results, JSON or property sheet. Property sheet is used by default. For more information, refer to Result format. |
||
Create Summary Link? |
If selected, a report with a summary and links are attached to the pipeline summary and job summary. |
||
Summary link property |
Property to store the generated report and attached to the pipeline summary and job summary. The default value is |
||
Summary link title |
Title for the link to download the report. The default title is |
UpdateProject
Updates the details of a Jira project.
Input parameters
Parameter | Description | ||
---|---|---|---|
Configuration name |
Required. The previously defined configuration for the plugin. |
||
Project ID or key |
Required. The Jira project ID or project key (case-sensitive). |
||
Project key |
Jira project key. For example, an issue prefix such as
|
||
Project name |
The name of the project. |
||
Project description |
A brief description of the project. |
||
Project category ID |
The ID of the project’s category. |
||
Assignee |
The default user assigned when creating issues for this project. |
||
Project type key |
Required. The project type, which defines the application-specific feature set. If you do not specify the project template you must specify the project type. Valid values are |
||
Project template key |
Required. A predefined configuration for a project. The project template key must be compatible with the project type entered in Project type key.
|
||
Project info URL |
A link to information about this project, such as project documentation. |
||
Avatar ID |
An integer value for the project avatar. |
||
Project lead |
|