Jira (PDK) plugin use cases

1 minute readExtensibilityDeveloper productivity

The following examples illustrate how you can use the Jira plugin in CloudBees CD/RO.

Update issues based on source control logs

  1. Create a procedure with three steps:

    Procedure
    Figure 1. Procedure
    1. The first steps checks out code from Git.

    2. The second step runs the LinkIssue procedure.

      LinkIssue form
      Figure 2. LinkIssue form

      It reads the property /myJob/ecscm_changeLogs, which is to be set by the previous step, and writes its results into the /myJob/issueLinks property sheet.

    3. The third step runs the UpdateIssue procedure:

      UpdateIssue form
      Figure 3. UpdateIssue form

      It reads issue keys from the property /myJob/issueLinks/issueKeys, which is to be set by the previous step and uses these keys as a part of JQL.

  2. Run the procedure:

    Job
    Figure 4. Job
  3. View the logs:

    Log
    Figure 5. Log
  4. View the report:

    Report
    Figure 6. Report