Show parent name

Friday, May 20, 2022
Avatar

In a custom report, I just need to show the name of the parent of a requirement.

This is the code I use, but it provides no result:

		  <td>
				<xsl:value-of select="../Name"/>
		  </td>

Can anyone clarify me why?

1 Replies
Saturday, May 21, 2022
Avatar
re: Alinour78 Friday, May 20, 2022

You need to look at the XML generated to see the path for your XPATH selector.

The Requirement names are not simply stacked up in a hierarchy, it's the entire requirement objects.

You need to do something like this:

https://www.inflectra.com/Support/KnowledgeBase/KB563.aspx

Statistics
  • Started: Friday, May 20, 2022
  • Last Reply: Saturday, May 21, 2022
  • Replies: 1
  • Views: 542