Code Monkey home page Code Monkey logo

redmine_issue_assign_notice's Introduction

Redmine issue assign notice plugin

It is a plugin of Redmine that notifies Slack, Rocket.Chat, Teams, Google Chat, Mattermost, etc. that the issue assignee changed.

Installation

Clone this repository to the Redmine plugin directory.
Then use bundle install to install the dependent libraries.

cd {RAILS_ROOT}/plugins
git clone https://github.com/onozaty/redmine_issue_assign_notice.git
bundle install --without development test

Usage

From the plugin's configuration screen, configure the settings for notifications.

Screenshot of plugin configure

In the "Notice URL", enter the URL of the Incoming Webhook created in the destination (Slack, Rocket.Chat, etc.).

When the assignee changed, the webhook set in the "Notice URL" will be executed and the following message will be posted.

Screenshot of slack message

The content of the message is as follows.

  • Line #1: Information on change of assignee
  • Line #2: Project name, tracker, ticket number, title, status
  • Line #3: New ticket creation: description, ticket modification: note (up to 200 characters)

Set Notice URL for each project?

If you check "Set Notice URL for each project?", you can set the Notice URL for each project.
The Notice URL for each project is set in the custom field "Assign Notice URL" of the project. You should create a custom field and set it in each project.

Screenshot of create project custom field

Screenshot of project setting

Mention to assignee? (Except when you assign yourself)

If you check "Mention to assignee? (Except when you assign yourself)", you can include mention for the user who was assigned to the message. However, the one set by the assignee themselves will not be notified.

Screenshot of slack message

For the mention ID, the "Assign Notice ID" of the user's custom field is used. Make sure to create a custom field and set it for each user.

Screenshot of create user custom field

Screenshot of my account

The ID to be entered depends on the notification destination.

  • Slack: member ID
  • Rocket.Chat: user name
  • Teams: UPN (email address)
  • Google Chat: user ID
  • Mattermost: user name

Disable sending description and notes?

If you check "Disable sending description and notes?", the issue description and notes will not be included in notices.

Supported versions

Redmine 3.0.x - 3.4.x, 4.0.x or later

License

MIT License

Author

onozaty

Acknowledgements

This plugin was created with the help of the following plugin implementation. I would like to thank the author for publishing such a great plugin.

Part of the code of this plugin belongs to the above project.

redmine_issue_assign_notice's People

Contributors

onozaty avatar vividtone avatar ishikawa999 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.