2017-06-22 13:51:39 +02:00
|
|
|
Get information on new or updated Redmine issues right in
|
2019-05-03 12:42:20 +02:00
|
|
|
Zulip with our Zulip Redmine plugin!
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-05-03 12:42:20 +02:00
|
|
|
_Note: this setup must be done by a Redmine Administrator._
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-05-03 12:42:20 +02:00
|
|
|
### Installing
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
Following the [Redmine plugin installation guide][1]:
|
|
|
|
|
|
|
|
1. Start by changing to the Redmine instance root directory:
|
|
|
|
`cd /path/to/redmine/instance`
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-05-03 12:42:20 +02:00
|
|
|
1. Clone the [Zulip Redmine plugin repository][2] into the `plugins` subdirectory
|
|
|
|
of your Redmine instance.
|
|
|
|
`git clone https://github.com/zulip/zulip-redmine-plugin plugins/redmine_zulip`
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
1. Update the Redmine database by running (for Rake 2.X, see
|
2017-06-22 13:51:39 +02:00
|
|
|
the guide for instructions for older versions):
|
|
|
|
`rake redmine:plugins:migrate RAILS_ENV=production`
|
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
1. Restart your Redmine instance.
|
2017-06-22 13:51:39 +02:00
|
|
|
|
|
|
|
The Zulip plugin is now registered with Redmine!
|
|
|
|
|
2019-05-03 12:42:20 +02:00
|
|
|
### Global settings
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
1. On your {{ settings_html|safe }}, create a new Redmine bot.
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
2. Log into your Redmine instance, click on **Administration** in the top-left
|
|
|
|
corner, then click on **Plugins**.
|
2019-05-03 12:42:20 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
3. Find the **Redmine Zulip** plugin, and click **Configure**. Fill
|
|
|
|
out the following fields:
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
* Zulip URL (e.g `https://yourZulipDomain.zulipchat.com/`)
|
|
|
|
* Zulip Bot E-mail
|
|
|
|
* Zulip Bot API key
|
|
|
|
* Stream name __*__
|
|
|
|
* Issue updates subject __*__
|
|
|
|
* Version updates subject __*__
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
_* You can use the following variables in these fields:_
|
2017-06-22 13:51:39 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
* ${issue_id}
|
|
|
|
* ${issue_subject}
|
|
|
|
* ${project_name}
|
|
|
|
* ${version_name}
|
|
|
|
|
|
|
|
### Project settings
|
2019-05-03 12:42:20 +02:00
|
|
|
|
2019-10-23 17:21:34 +02:00
|
|
|
To override the global settings for a specific project, go to the
|
|
|
|
project's **Settings** page, and select the **Zulip** tab.
|
2017-06-22 13:51:39 +02:00
|
|
|
|
|
|
|
{!congrats.md!}
|
|
|
|
|
2020-08-05 11:50:17 +02:00
|
|
|
![Redmine bot message](/static/images/integrations/redmine/001.png)
|
2019-05-03 12:42:20 +02:00
|
|
|
|
2020-03-27 01:32:21 +01:00
|
|
|
[1]: https://www.redmine.org/projects/redmine/wiki/Plugins
|
2019-05-03 12:42:20 +02:00
|
|
|
[2]: https://github.com/zulip/zulip-redmine-plugin
|