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

How? #135

Open
koullislp opened this issue Mar 24, 2015 · 2 comments
Open

How? #135

koullislp opened this issue Mar 24, 2015 · 2 comments

Comments

@koullislp
Copy link

Hello,

I am struggling to integrate scrumbugz with my bugzilla server which runs on the same host. At this point I am able to start the server (no errors) and I can create users/groups/teams/sprints etc. But apparently searching for a bug doesn't do much (broken link).

I believe it is a matter of just including the correct parameters in the config files under the settings directory. Due to the lack of documentation and my python inexperience I don't know what to modify.

Some help would be very appreciated.

Thanks,

K

@koullislp
Copy link
Author

Ok, so I have set some whiteboard tags in my bugzilla, but how can I get bugmail to sync them with the specified scrumbugz project?

@pmclanahan
Copy link
Contributor

Hi,

The way I did it for scrumbu.gs was to setup a "global follower" in bugzilla, which is an account that gets all non-private bugmail. I used an email account at my domain for this and pointed the MX DNS record at the web server's IP. I then setup Postfix (a linux email server) to send all recieved mail to a script that sent the mail as a POST request to the running Scrumbugz instance. There is a view in scrumbugz that's setup to handle these posts.

Setting up postfix was pretty easy. I basically kept defaults and setup an alias in /etc/aliases for the address:

scrumbugz: "|/home/pmclanahan/www/scrumbugz/process_bugmail.sh"

That process_bugmail.sh script is also pretty simple. You basically set an API Key in your settings for the app, then put the same key in the following script and that's what's working for me.

#!/bin/bash

API_KEY="super-sekrit"

curl -v -d api-key="${API_KEY}" --data-urlencode email="$(cat -)" https://scrumbu.gs/bugmail/process/

I've been meaning for over a year to blog about this or just document it and have failed. Sorry about that. I tried earlier having the bugmail go to an account that supported POP mail and use that as a queue, but that ended up not being as reliable.

Hope this helps!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants