Forums

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

Confluence Smart Links From Table Transformer

Casey Carll
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 13, 2023

As far as I understand it, the process in which a URL is changed automatically while editing a page in confluence when pasting the URL is called Smart Links.

The question I have is, is there a way to recreate this with dynamic data?
I am retrieving table excerpt data from fast jira list JQLs.
The focus of which has to do with the confluence pages linked to these jiras.
I have created a desired table through various pivot tables and table transformers with the data retrieved from table excerpt inclusions.

The specific thing I wish to do is automatically generate the page names of the confluence pages, much like smart links does when pasting the URL into a confluence page.
Is there a way to do this through table transformation or another method?

I have been able to create hyperlinks of the Page ID links already using table transformation and I wish to be able to read the page names without clicking the links.
I also am not an administrator user and do not have any funds to get add-ons for confluence.

1 answer

1 accepted

1 vote
Answer accepted
Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
February 14, 2023

Hi @Casey Carll,

Unfortunately, I don’t think that the Table Transformer macro will help with the case.
It can, for example, rename a bunch of links in the column to smth short and clickable (please navigate to the “Creating clickable links” section).

And you may try to split your full link by some symbol to leave only the part with the page name. But not every link is “pretty”, many page links have not titles but page IDs in their URLs. So, this option also won’t do
.
The Table Transformer macro itself recognizes the @PAGETITLE variable. For example, the query “SELECT @PAGETITLE AS 'Page Title' FROM T*” will return the page title of the current page, but not the page titles of other pages.

To get page titles as page meta data trough the Table Excerpt Include macro is also not an option, as I understand. Because you don’t need to see page titles of the pages where your Table Excerpt macros are placed, you need to see the page titles of Confluence pages that are linked to your Jira issues.

So, sorry but nothing helpful comes to my mind at the moment.

Casey Carll
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
February 14, 2023

Thank you for response @Katerina Rudkovskaya _Stiltsoft_ ,

I appreciate the thoughts you bring to what might of been a resolution.
All links I have compiled for my table use the page ID URLs.
I have set my table to make these URLs hyperlinks via FormatWIKI previously.

Is there truly no way to recreate the smart links conversion that happens when posting URLs into a confluence page?
Via table transformer or otherwise?
If not, I will consider this a dead-end.

Katerina Rudkovskaya _Stiltsoft_
Atlassian Partner
February 14, 2023

Unfortunately, the app doesn't provide this functionality and I really can't think of any possible workaround.

Like Stiltsoft support likes this
Katie A January 25, 2024

@Casey Carll I am curious, what are you using when you say "I am retrieving table excerpt data from fast jira list JQLs." 


I cannot find how to get the confluence link from a JQL - is this using a 3rd party app?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events