Skip to content

Connect your Jira and Perforce with simple Python script

Notifications You must be signed in to change notification settings

approximatenumber/p4-jira

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple Perforce<->Jira Connection

Simply connect your Jira issue and Perforce changelist with issue-key in comment.

screenshot

Requirements

  • 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 and Create comments permission)
  • Python3
  • requirements.txt

Installation

  1. Install requirements.
  2. Create .env environment file with Jira credentials:
JIRA_URL='<>'
JIRA_USER='<>'
JIRA_PASSWORD='<>'
  1. Change WORKING_PATH, P4USER, P4PASSWD with your values.
  2. Add change-trigger trigger to your p4 triggers (p4 triggers):
p4-jira change-commit //depot/... "/opt/perforce/p4-jira/p4-jira.py %changelist% %user%"
  1. Check connection submitting some files with issue-key in description (logfile in working path is available).

About

Connect your Jira and Perforce with simple Python script

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages