Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Table Filter and Charts String Splitting

Craig_Harley
Contributor
May 15, 2025

I'm pulling a Jira table into the table filter and charts macro in Confluence. One of the fields returned contains a comma separated list of url links to a confluence page.

Each page has details on either an API consumer or an API provider

they are returned in the following format

Consumer URL 1, Consumer URL 2: Provider URL 1, Provider URL 2

where the consumers and provider urls are split by a ":"

Is there any way to split this into 2 columns, so that

Column 1 = everything Left of ":"

Column 2 = everything Right of ":"

Unfortunately it would have made sense to put providers and consumers into different Jira fields, but I have no control over anything done in Jira.

So is there nay way to achieve my ask?

 

2 answers

0 votes
Craig_Harley
Contributor
May 16, 2025

hi Aliaksei,

thanks for this, however have tried it and it doesn't work, I get empty cells back

Screenshot 2025-05-16 191134.png

Screenshot 2025-05-16 191346.png

0 votes
Aliaksei Mikhailau _Stiltsoft_
Contributor
May 16, 2025

Hello @Craig_Harley,

As you've mentioned our Table Filter, Charts & Spreadsheets for Confluence app, let me note you can achieve the expected result using our Table Transformer macro. The example SQL query for your request is as follows:

SELECT
SPLIT_VIEW(T1.'Your column name', ":")->0 AS 'Consumers',
SPLIT_VIEW(T1.'Your column name', ":")->1 AS 'Providers'
FROM T1

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
ENTERPRISE
TAGS
AUG Leaders

Atlassian Community Events