Project

General

Profile

Actions

Feature #37468

open

Custom Field URL with values of other custom fields

Added by J H over 4 years ago. Updated 10 days ago.

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

Description

When having a custom field you can only build up the url with this custom field value.
I need to build up a URL with custom field A and custom field B.

It would be really great if you can set up a URL like this:
http://test.com/?id=%value%&id2=%cf_11%

# Returns an URL generated with the custom field URL pattern
      # and variables substitution:
      # %value% => the custom field value
      # %id% => id of the customized object
      # %project_id% => id of the project of the customized object if defined
      # %project_identifier% => identifier of the project of the customized object if defined
      # %m1%, %m2%... => capture groups matches of the custom field regexp if defined
      def url_from_pattern(custom_field, value, customized)

Files

Actions #1

Updated by Philippe Cloutier 10 days ago

To clarify, this refers to the existing “Link values to URL” feature. That feature has considerable flexibility, but only allows deriving a value from 1 custom field.

I suggest retitling to something like:

Link values to URL does not support deriving a URL from multiple (other) custom fields

Actions #2

Updated by Philippe Cloutier 10 days ago

Ticket #19649 makes a similar request for a specific case (multi-valued custom fields).

Actions

Also available in: Atom PDF