I have the following scenario: we are using Confluence to write requirements and for that we created some templates. In these templates we have the information for each specific requirement entered in a table like this:
|Unique Identifier|| (Base identifier)-S-|
|Risk Mitigation ID|
|Included in manual||No|
For each new requirement the feature owner creates a new copy of the table and enters the information in it.
My question is if there is any way to automatically update this table's structure (not content) in the already created pages in case we have to change something in the template.
For example, in case we decide we would need an additional attribute, we would create a new row in this table in the template. We would then have to manually update all the places where the table is already filled in and this is a painstaking process.
One option you would have is to use the Confluence Command Line Interface and do a search and replace on the XHTML format. You would use the Header right after where you want to insert the new row as a reference. For example, if you wanted to put a new row in before "Owner" you would search for "<tr><th colspan="1">Owner</th>" and replace with "<tr><th colspan="1">New heading</th><td colspan="1"> </td></tr>" or something similar to that. You can see the XHMTL code with the "Tools", "View Storage Format" or use the Confluence Source Editor. You could do a test on a test page to make sure it works without messing up your pages, and then you would do it to all pages.
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs