Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

JQL: Substring operation using delimiter on a custom field (multi-line) values onto Confluence page

Madhusudhan Srinivasa December 7, 2017

Have certain values (separated by commas) populated onto custom field (multi-line) for Issues

Requirement is:

- Need to perform substring operation on this value using a delimiter

- And display only last X digits

Is this feasible via JQL? or wild card searches? 

Any available plugin to support such operation?

5 answers

0 votes
Madhusudhan Srinivasa January 3, 2018

@Jobin Kuruvilla [Adaptavist] Thanks for quick reply here

0 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 3, 2018

This is not a generic JQL function requirement. You might want to write a custom searcher for your custom field or write a JQL function in a plugin that does what you want.

But features like displaying only last X digits are beyond the search functionality. That will be a modification to the custom field implementation!

0 votes
Madhusudhan Srinivasa January 3, 2018

@Jobin Kuruvilla [Adaptavist] Have anything to comment here please? The requirement is to perform substring operation on the custom multifield text value populated onto confluence from Jira.

0 votes
Madhusudhan Srinivasa December 8, 2017

Thanks @Andy Heinzer for your inputs

Will try the plugin, if I can attain the requirement. Leave feedback shortly

Do we have any relevant plugins at confluence end?

0 votes
Andy Heinzer
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
December 7, 2017

Jira's native JQL is not able to do this.  JQL is designed to return Jira issues, it is not as adept at returning a substring of a field to a specific issue.  That kind of function though seems like something that could be done with a SQL query.

As such, perhaps you can use a plugins such as SQL for Jira Driver: Convert JQL to SQL this plugin also has other related plugins that mightbe helpful here.   For example the SQL for Jira - Custom Fields appears to allow you to use SQL formulas to populate custom fields in Jira.   Perhaps with this you could use a SQL substring in order to create a new custom field that only contains the specific data you want to show in conjunction with that issue.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events