Simply connect your Jira issue and Perforce changelist with issue-key in comment.
- Perforce user to discover submits (security note: readonly permission is good practice)
- Jira user to leave comments in issues (security note: give him only
View projects
andCreate comments
permission) - Python3
requirements.txt
- Install requirements.
- Create
.env
environment file with Jira credentials:
JIRA_URL='<>'
JIRA_USER='<>'
JIRA_PASSWORD='<>'
- Change
WORKING_PATH
,P4USER
,P4PASSWD
with your values. - Add
change-trigger
trigger to your p4 triggers (p4 triggers
):
p4-jira change-commit //depot/... "/opt/perforce/p4-jira/p4-jira.py %changelist% %user%"
- Check connection submitting some files with issue-key in description (logfile in working path is available).