Confluence Smart Links From Table Transformer
Asked by Casey Carll:

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.


Answers:
author: Katerina Rudkovskaya [Stiltsoft]
body: Hi [@Casey Carll](/t5/user/viewprofilepage/user-id/5145750),  

Unfortunately, I don't think that the Table Transformer macro will help with the case.  
It can, for example, [rename a bunch of links](https://docs.stiltsoft.com/tfac/dc-server/advanced-table-cells-formatting-58426218.html#Advancedtablecellsformatting--Creatingclickablelinks?utm_source=atl_community&utm_medium=answer&utm_campaign=table-filter-traffic-sources&utm_vendorID=1216111) 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.

comments: author: Casey Carll
body: Thank you for response [@Katerina Rudkovskaya \[Stiltsoft\]](/t5/user/viewprofilepage/user-id/3738229) ,  

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.  


author: Katerina Rudkovskaya [Stiltsoft]
body: Unfortunately, the app doesn't provide this functionality and I really can't think of any possible workaround.


author: Katie A
body: [@Casey Carll](/t5/user/viewprofilepage/user-id/5145750) I am curious, what are you using when you say "I am retrieving table excerpt data from fast jira list JQLs."

<br />

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


Tags: confluence-server

filter

server

smart-value

table

table-filter

table-filter-and-charts

table-transformer