Confluence Cloud : Auto assign id to the column

Ashish February 9, 2021

Hello team, 

I have table created with diff columns for requirements.

Once such table is called Sys id and i want to auto assign the values like 001, 002 ,003 and 0004, automatically.. is there any way to achieve this using macro ..native or 3rd part 

Capture.JPGRegards
Ashish

2 answers

2 accepted

2 votes
Answer accepted
Katerina Rudkovskaya _Stiltsoft_
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
February 9, 2021

Hello Ashish,

I advise you using Table Filter and Chart for Confluence app in this case.
Please wrap your table with our Table Transformer macro and use the following SQL query:

SELECT 'Subsystem',
'Sys Req id'::string->padStart(3, "0") AS 'Sys Req id',
'Summary',
'Description'
FROM
(SELECT *, ROWNUM() AS 'Sys Req id' FROM T1)


2021-02-09_14h26_10.png2021-02-09_14h26_26.png2021-02-09_14h26_30.png

Katerina
Stiltsoft

Ashish February 9, 2021

@Katerina Rudkovskaya _Stiltsoft_ : This works ..Thank you :)

0 votes
Answer accepted
Ashish February 9, 2021

@Katerina Kovriga _Stiltsoft_  : Any suggestion please 

Katerina Kovriga _Stiltsoft_
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 9, 2021

Hi @Ashish ,

Please check the previous answer from @Katerina Rudkovskaya _Stiltsoft_ - it fully suits your case.

You may find the list of functions available for the Table Transformer macro here.

Like # people like this
Ashish February 9, 2021

@Katerina Kovriga _Stiltsoft_ : Thank you for the help :)

Suggest an answer

Log in or Sign up to answer