Project

General

Profile

Actions

Feature #9734

open

Custom field , value list from database query

Feature #9734: Custom field , value list from database query

Added by Felix Sendino almost 15 years ago. Updated almost 6 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Custom fields
Target version:
-
Resolution:

Description

This would help to use redmine issues referenced to a resource inventory,
or a CMDB.
Basically we'd insert cmdb data into redmine mysql tables and we'd like to define
a custom field based on query results, for example, select service_name from service_list,
and set it as a required field for defined trackers.
As it would be a very long list it would be perfect to have the query "dynamically" executed by
another value, which would be used in the where clause.
For example, we would have a Category custom field (database, system, hardware) and would use the
value to shorten the query defined.


Related issues 4 (2 open — 2 closed)

Related to Redmine - Feature #6717: Custom list field with dynamic list contentNewActions
Related to Redmine - Feature #22026: Conditional custom fieldsNewActions
Has duplicate Redmine - Feature #12224: Custom Fields with SQL FormatClosedActions
Has duplicate Redmine - Feature #19237: Get data from database to custom fieldClosedActions

Updated by Daniel Felix about 14 years ago Actions #1

+1

Updated by Martin G almost 14 years ago Actions #2

+1

Updated by Dipan Mehta almost 13 years ago Actions #3

Add related #6717

Updated by Toshi MARUYAMA almost 13 years ago Actions #4

  • Related to Feature #6717: Custom list field with dynamic list content added

Updated by Maicon Zucco over 12 years ago Actions #5

+1

Updated by Alice Etchegaray over 12 years ago Actions #6

+1

Updated by Esteban Barrios over 11 years ago Actions #7

+1

Updated by Toshi MARUYAMA over 11 years ago Actions #8

  • Has duplicate Feature #19237: Get data from database to custom field added

Updated by Ami Desai over 11 years ago Actions #9

+1

MUST wanted feature.

Updated by Toshi MARUYAMA over 10 years ago Actions #10

Updated by Teogenes da Nobrega over 10 years ago Actions #11

+1

Updated by [ Desperados ] about 10 years ago Actions #12

+1

Updated by Amir Sepahram over 6 years ago Actions #13

+1

Updated by QMB ENTW almost 6 years ago Actions #15

Alexey Smirnov wrote:

https://www.redmine.org/plugins/custom_field_sql

Hi Alexey, can you support some examples how it works?
Are there some restrictions for SQL-queries?
I'm very familar to SQL, but what are the parameter-definitions to any SQL-query?
And do the query depends on the ID of an issue?
Kind regards Klemens

Actions

Also available in: PDF Atom