Skip to content
This repository has been archived by the owner on May 30, 2019. It is now read-only.

A Broker to Receive BitBucket POST commits and push the data to Youtrack.

License

Notifications You must be signed in to change notification settings

ahosking/Youtrack_Bitbucket_Broker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Youtrack_Bitbucket_Broker

Purpose

This is a flask broker that will listen for POST hooks from your bitbucket repository, process them and post them as a comment to youtrack.

Requirements

To use this brokr you need:

*Flask

*Python 2.7

*Pytrack

*Requests

*Youtrack 4.0 and newer (This has not been tested on anything before 4.0)

Usage

Download this and Pytrack into the same directory for ease of use. On line 116:

p = pytrack(<YOUTRACK_URL>, <YOUTRACK_PORT>, <USERNAME>, <PASSWORD>)

Change the variables to "http://YourYouTrackURL", 1234(Your Port), "Username", "Password"

When you commit your code you'll need to include the ticket number in the commit message.

Based on my experience they look like: "XXX-000". Any number of characters followed by a dash and the associated number.

You can change the regex on line 37 to meet your needs here.

About

A Broker to Receive BitBucket POST commits and push the data to Youtrack.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages