You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -190,3 +190,4 @@ When the Evidence service is used in conjunction with JFrog Xray, each Release B
190
190
191
191
To see a sample rego policy, go [here](https://github.com/jfrog/Evidence-Examples/blob/main/policy/policy.rego).
192
192
For more information about integrating Release Lifecycle Management and Evidence with Xray, see [Scan Release Bundles (v2) with Xray](https://jfrog.com/help/r/jfrog-artifactory-documentation/scan-release-bundles-v2-with-xray).
# Create JIRA Transition Evidence from the build CI and attach it to the build info
2
+
JIRA is an important tool for tracking issues and managing projects and holds all requirements for software changes as Tasks.
3
+
For compliant software development, it is important to track requirements review and approval process as these confirm proper approval for code changes done and released.
4
+
To allow automation of proper requirements review and approval, we create an evidence of any JIRA linked to the code commits during the build with confirmation it went through approval status before code was committed.
5
+
Every company defines a different approval status, so in our example we allow the calling code send the name of the transition that shold be checked.
6
+
7
+
pre-requisites:
8
+
1. Hold a cloud JIRA server (for selfhosted jira server, few code adjustments are required)
9
+
2. Allow network access from your CI server to Jira server
10
+
3. Define few environment variables: jira_url, jira_token, jira_username
11
+
4. Commit comments must include the JIRA issue ID (e.g. <jira-project-key>-1234)
12
+
13
+
The example is based on the following steps:
14
+
1. get the relevant commit IDs
15
+
2. extract the JIRA IDs from all the build commits
16
+
3. call the jira-transition-checker utility (use the binary for your build platform) with these arguments: "transition name" JIRA-ID [,JIRA-ID]
0 commit comments