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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Confluence Cloud : Auto assign id to the column

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

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

0 votes
Answer accepted

@Katerina Kovriga _Stiltsoft_  : Any suggestion please 

Hi @Ashish Saini ,

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

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

Announcing the waitlist for Jira Work Management

Hey there Cloud Community members! We’re excited to give you the first glimpse of the new home for business teams on Jira — Jira Work Management. Jira Work Management is the next generation of J...

874 views 14 20
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you