The following examples illustrate how you can use the Jira plugin in CloudBees CD/RO.
Update issues based on source control logs
-
Create a plugin procedure.
Figure 1. Procedure-
Check out code from Git.
-
Run the LinkIssue procedure.
Figure 2. LinkIssue formThe LinkIssue procedure reads the property
/myJob/ecscm_changeLogswhich the previous step sets, and writes its results into the/myJob/issueLinksproperty sheet. -
Run the UpdateIssue procedure.
Figure 3. UpdateIssue formThe UpdateIssue procedure reads issue keys from the property
/myJob/issueLinks/issueKeyswhich the previous step sets, and uses these keys as part of a Jira Query Language (JQL) query.
-
-
Run the plugin procedure.
Figure 4. Job -
Verify logs.
Figure 5. Log -
View the report.
Figure 6. Report