Feature #37468
Custom Field URL with values of other custom fields
Status: | New | Start date: | ||
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | - | % Done: | 0% | |
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)