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

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?

2 comments

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.

Thanks @Andrew 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?

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

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!

Comment

Log in or Sign up to comment
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Tuesday in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

246 views 1 18
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you