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

How to add a sequence number in confluence table Edited

Hi

I'm looking to add a sequence number in confluence table, it works this way:

  1. User sets manually a sequence number in one of the column, use 1 as step
  2. If user changes a number in the column, it will change all the numbers that's larger than the number in that column by adding one

example:

  • I have a table with 6 rows
  • I have a sequence column
  • In the sequence cell of each row, I put 1,2,3,4,5,6...
  • If I change 5 to 2, then 2 becomes 3, 3 becomes 4, 4 becomes 5, 6 stay not changed
  • If I add a row and fill sequence column as 4, then the previous 4 becomes 5, previous 5 becomes 6, previous 6 become 7

Is there a way to have this functionality? This could be useful to prioritize tasks.

 

Thanks!

3 answers

1 accepted

0 votes
Answer accepted

Hi @Peng Chen ,

You should be looking at User Macro (Writing User Macros), where you can create a script to read rows and columns from a given table and manipulate its values accordingly.

Kind regards,
Rafael

0 votes
Davin_Studer Community Leader Sep 12, 2019

Functionality like this does not natively exist in Confluence. However, there are apps in the marketplace that give you spreadsheet functionality for Confluence. You could do that with a spreadsheet formula. There are also a couple apps that work with native Confluence tables and formulas.

Thanks to both of you, I will look into it

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Confluence

What project did you transition or start on Confluence with the shift to remote work?

It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...

109 views 3 7
Join discussion

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