desktopsolutions / bbucket-to-trello
BitBucket web hook for commenting commit messages into Trello cards.
Installs: 22
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 2
Open Issues: 0
Type:project
Requires
- php: >=5.3.0
- mattzuba/php-trello: ^1.1
This package is not auto-updated.
Last update: 2021-06-09 13:35:49 UTC
README
BitBucket web hook for commenting commit messages into Trello cards.
Installation
Install via composer
composer create-project desktopsolutions/bbucket-to-trello
...or clone the repository.
Run the config generator
php cli-install.php
I was hoping to have this run automatically after the project installs but composer was forcing it through without allowing STDIN :(
If you can't use the command-line tool, copy config-example.php
to config.php
and edit the values within.
Set up the Web Hook
In your BitBucket repository go to settings -> web hooks. Create a new web hook with the URL of your installation.
ex. http://mysite.com/bbucket-to-trello
##Use and Enjoy! Put the URL of your relevant Trello card in your commit messages. The commit information will be added as a comment to that card (see below for an example).
You can reference as many cards as you would like within a single commit. Trello will parse the card URLs as usual so you can click them to jump between cards.
Comment format
Commit hash
by author's display name
commit message
link to commit details here
Contributing
Pull requests welcome :)
This was built for a specific use case. If you wish to extend any functionality of this program whether it be improving the comment messages, enhancing security, etc. please fork the repo and submit a pull request!
This project is maintained by Andrew Natoli.