This is the first time I post in this forum after found it yesterday and spending days trying to figure out how to concatenate module name and object heading.
I am trying to create a column in a view which will display the module name and all its parent object headings before I export it to Excel for me to import it into Quality Center.
The reason I am doing this manually instead of relying on the Quality Center Integration(QCI) module is because QCI will occasionally starts to act up and stop updating the requirement data in Quality Center when performing the synchronization task. Performing the upload manually will be my fall back plan should the synchronization task stop functioning as intended.
The content in the column should be able to display all the object headings(parent) so that the requirements is able to retain the requirement structure when I import the data into Quality Center.
Module Name: XXX Requirement
Object Heading Object Text Desire Output
Section 1 XXX Requirement
requirement 1 XXX Requirement\Section 1
requirement 2 XXX Requirement\Section 1
Section 1.1 XXX Requirement\Section 1
requirement 3 XXX Requirement\Section 1\Section 1.1
Section 1.1.1 XXX Requirement\Section 1\Section 1.1
requirement 4 XXX Requirement\Section 1\Section 1.1\Section 1.1.1
Section 1.2 XXX Requirement\Section 1
requirement 5 XXX Requirement\Section 1\Section 1.2
After browsing this forum and found two closest post. I am only managed to come up with the script below.
The issues that I am facing now are:
- The above script is unable to display all its parent(multiple parent level). For instance, if I click on 'requirement 3' row, all the content in the column will just display as 'XXX Requirement\Section 1.1'. I am suspecting it is due to the fact that I assign obj=current but I don't know how to get around it.
- I am unable to retrieve all the parents of the object heading as there will be more that 5 levels of the object heading that I may have to deal with.
Does anyone has any experience or success in performing the concatenation successfully?
Thanks & Best Regards,