Skip to content

Latest commit

 

History

History
45 lines (28 loc) · 976 Bytes

README.md

File metadata and controls

45 lines (28 loc) · 976 Bytes

Redmine Post-Action SQL

Execute SQL statement list after save issue

Installation

  • Copy the plugin directory into the plugins directory
  • (Re)Start Redmine

Supported Redmine, Ruby and Rails versions.

Plugin aims to support and is tested under the following Redmine implementations:

  • Redmine 5

Plugin aims to support and is tested under the following Ruby implementations:

  • Ruby 3.2.3

Plugin aims to support and is tested under the following Rails implementations:

  • Rails 6.1

  • Usage


  • Add *.sql files into 'sql' directory
  • SQL-files will be executed after each modify issue

SQL parameters

You can use parameters for sql expression. %id% => id of the issue object

Supported hooks

Currently the following hooks are supported:

  • :controller_issues_new_after_save
  • :controller_issues_edit_after_save

Todo

  • Better documentation (Read the source for now)

Licence

Copyright (c) 2024 Alexey Smirnov