SCM Activity plugin for Jira provides REST API Services to access and store SCM Change-set data within Jira Database, further integrates Jira with all the SCM systems like (perforce, git, gerrit, cc and svn etc.). This plugin separates SCM change-set data from Jira data and as a result eliminates the need of migration of SCM change-set data during the Jira backup/restore/migrations efforts. Right add-on for those who stores SCM Change data via Custom Text Fields or Comments.
Difference from SCM Activity Plugin:
- This plugin store's SCM Change-set Data in AO Table within Internal Jira Database.
- No external database integration required
Features:
- Helps in reducing time during the Jira backups/restore/migrations
- Provides JQL Search functions i.e. scmChangesetsSearch("")
- Supports multiple SCM systems and external jobs integration
- Workflow Condition to check if Scm Activity exists
- Supports GitHub Webhook Integration
Here is the following one step to start using the plugin:
STEP-1
You can start Posting SCM Change Set Data using REST API Or Hook Scripts
DEBUG
Go to logging and profiling > Default loggers > Click Configure
Add below:
Package name: com.tse.jira.scmactivitylite.plugin Logging Level: DEBUG
DEMO
Command:
$ curl -u superadmin -H "Content-type: application/json" -XPOST --data '{"issueKey":"DT-1","changeId":"100",\ "changeType":"perforce","changeDate":"2019-05-10 00:00:00","changeStatus":"submitted","changeAuthor":"john",\ "changeLink":"http://perforceweb/c=100","changeMessage":"Fixed ToolsX bug. Ref: DT-1","changeFiles":\ [{"fileName":"/depot/src/AppEntityManager.java","fileAction":"Modified","fileVersion":"23"}],\ "changeTag":"R1.0,R2.0"}' http://localhost:8080/rest/scmchangeset/1.0/changeset/activity Enter host password for user 'superadmin': {"id":4,"message":"[Info] DT-1 > 100 activity row [4] is added."}
Result: