Update information inserted through a template automatically

Hi,

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:

SRS Title

<name of the item>
Unique Identifier (Base identifier)-S-#
Parent Identifier<identifier of linked Parent: URS, PFRS, another SRS, Risk Mitigation>
Risk Mitigation ID<Identifier of the applicable Risk Mitigation (only one or none)>
Applicable LicenseNone
Description[if <condition>] The system shall [enable the user to] <perform the action>.
Owner<feature owner>
User Interface[The feature shall be accessible via <UI control>.]
Applicable standards

[DICOM, IHE (refer to chapter)]

Quality aspects

[Usability, Performance]

Included in manualNo

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.

Thanks!

1 answer

1 accepted

1 vote
Stephen Deutsch Community Champion Dec 09, 2014

Hi Mircea,

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.

I didn't know about the Confluence Source Editor. With that I can update pages easily now. Unfortunately I can't buy the CCLI tool (no approval from higher up). Thanks!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sarah Goff-Dupont
Published 4 hours ago in Confluence

Think you know shares vs. @mentions in Confluence? Take this collab quiz.

To anyone who doubts that Atlassians are a little too obsessed with collaboration, and tools related thereto, let me describe a recent discussion we had (which took place on our internal Confluence, ...

56 views 2 3
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you