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

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,461,870
Community Members
 
Community Events
176
Community Groups

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

Andy Heinzer Atlassian Team Dec 07, 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.

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?

@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.

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