<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to use attribute &amp;quot;Outline Number&amp;quot; of Requirement Item in computed field expression in Codebeamer</title>
    <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001167#M688</link>
    <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/934061"&gt;@vjub58&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The outline number of the work items in a tracker is not stored in any property.&lt;/P&gt;&lt;P&gt;That's why it is not possible to use it in computed field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to use some other calculation to get the desired data.&lt;/P&gt;&lt;P&gt;E.g. in your example you can check if the work item has one and only one ancestor.&lt;/P&gt;</description>
    <pubDate>Thu, 27 Feb 2025 12:37:05 GMT</pubDate>
    <dc:creator>EvaBertalan</dc:creator>
    <dc:date>2025-02-27T12:37:05Z</dc:date>
    <item>
      <title>How to use attribute "Outline Number" of Requirement Item in computed field expressions?</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1000720#M677</link>
      <description>&lt;P&gt;Hi dear Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to &lt;STRONG&gt;use the Item Attribute "Outline Number" of Requirement Item in &lt;U&gt;computed field.&lt;/U&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example: I tried to write the computed filed expression like &lt;EM&gt;&lt;STRONG&gt;'indexOf (&amp;lt;Outline Number&amp;gt;, ".")&lt;/STRONG&gt;&lt;/EM&gt; ' to know, whether Outline Number contains one "." (dot symbol). But I can't use the attribute name "Outline Number" per se, because it contains the blank symbol.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Therefore I need the &lt;STRONG&gt;property name for Outline Number&lt;/STRONG&gt;. But this attribute is hidden and I can't see it in attributes' list of Tracker configuration, even if I turn the ticks "show hidden attributes" and "show property names" on.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me to solve this problem. Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Tue, 25 Feb 2025 18:29:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1000720#M677</guid>
      <dc:creator>vjub58</dc:creator>
      <dc:date>2025-02-25T18:29:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001167#M688</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/934061"&gt;@vjub58&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The outline number of the work items in a tracker is not stored in any property.&lt;/P&gt;&lt;P&gt;That's why it is not possible to use it in computed field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You need to use some other calculation to get the desired data.&lt;/P&gt;&lt;P&gt;E.g. in your example you can check if the work item has one and only one ancestor.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 12:37:05 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001167#M688</guid>
      <dc:creator>EvaBertalan</dc:creator>
      <dc:date>2025-02-27T12:37:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001219#M689</link>
      <description>&lt;P&gt;Hi Eva,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your quick answer!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;How can I check the number of ancestors in the item?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 15:56:26 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001219#M689</guid>
      <dc:creator>vjub58</dc:creator>
      <dc:date>2025-02-27T15:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001391#M691</link>
      <description>&lt;P&gt;I've set a computed field with this formula:&amp;nbsp;&lt;STRONG&gt;empty Parent ? "First" : (empty Parent.Parent ? "Second" : "Other")&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EvaBertalan_0-1740745290760.png" style="width: 811px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/118925iBDB8FDDD00B65134/image-dimensions/811x578?v=v2" width="811" height="578" role="button" title="EvaBertalan_0-1740745290760.png" alt="EvaBertalan_0-1740745290760.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the result:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EvaBertalan_1-1740745350416.png" style="width: 452px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/118926i939936C705C46979/image-dimensions/452x595?v=v2" width="452" height="595" role="button" title="EvaBertalan_1-1740745350416.png" alt="EvaBertalan_1-1740745350416.png" /&gt;&lt;/span&gt;&amp;nbsp;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="EvaBertalan_2-1740745385349.png" style="width: 528px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/118927i86276B844EF2F13E/image-dimensions/528x417?v=v2" width="528" height="417" role="button" title="EvaBertalan_2-1740745385349.png" alt="EvaBertalan_2-1740745385349.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:24:06 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001391#M691</guid>
      <dc:creator>EvaBertalan</dc:creator>
      <dc:date>2025-02-28T12:24:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001401#M692</link>
      <description>&lt;P&gt;Hi Eva,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot for your answer!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's very good solution for items' nesting level 2-3-4... unfortunately, in our project we have nesting levels (former "Object Level" in DOORS) up to 9.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":persevering_face:"&gt;😣&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I found some infos about the function "ancestors()", that should return the list of item ancestors, and then "size(ancestors())" quasi should return the number of ancestors. But in doesn't work and the "computed" expression isn't evaluated properly in my codeBeamer version 2.1.0.0 (postgresql).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you please help me with the proper using of this function? Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 12:49:34 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001401#M692</guid>
      <dc:creator>vjub58</dc:creator>
      <dc:date>2025-02-28T12:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001415#M693</link>
      <description>&lt;P&gt;To count the ancestor we would need to define a recursive loop in the computation. I couldn't find any solution for this, sorry.&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 13:46:16 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001415#M693</guid>
      <dc:creator>EvaBertalan</dc:creator>
      <dc:date>2025-02-28T13:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001424#M694</link>
      <description>&lt;P&gt;Thank you anyway for the quick answer!&lt;/P&gt;</description>
      <pubDate>Fri, 28 Feb 2025 14:13:02 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001424#M694</guid>
      <dc:creator>vjub58</dc:creator>
      <dc:date>2025-02-28T14:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001964#M697</link>
      <description>&lt;P&gt;Hey, I was able to achieve what you were looking within a single tracker by creating a computed field with this expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;empty Parent ? 0 : Parent.customField[1] + 1&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;where &lt;U&gt;&lt;EM&gt;customField[1]&lt;/EM&gt;&lt;/U&gt; is the property of my Ancestors custom field.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="2-ancestors-multiple-parents.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/119100i40D193B482548240/image-size/large?v=v2&amp;amp;px=999" role="button" title="2-ancestors-multiple-parents.png" alt="2-ancestors-multiple-parents.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="lia-indent-padding-left-30px lia-align-center"&gt;&lt;EM&gt;As you can see above, I've created two items as parents, and this example item with a parent that has a parent has a value of 2 in the Ancestors field.&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="1-ancestor-one-parent.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/119101i32F3DCBF7A9E577D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1-ancestor-one-parent.png" alt="1-ancestor-one-parent.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P class="lia-align-center"&gt;&amp;nbsp;&lt;EM&gt;&lt;SPAN&gt;And now that it's parent has no more parents, the Ancestors field has a value of 1.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you wanted this to work across trackers, or to be a bit cleaner of an expression, you could create an &lt;A href="https://support.ptc.com/help/codebeamer/r2.1/en/index.html#page/codebeamer/user_guide/ug_shared_fields.html" target="_blank" rel="noopener"&gt;Shared Field&lt;/A&gt; for "&lt;U&gt;&lt;EM&gt;Ancestors&lt;/EM&gt;&lt;/U&gt;" and associate these individual tracker fields with this shared field like so:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="creating-ancestors-shared-field.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/119102iCC1F9B0A47F3FAF4/image-size/large?v=v2&amp;amp;px=999" role="button" title="creating-ancestors-shared-field.png" alt="creating-ancestors-shared-field.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="associated-tracker-field-with-share-field.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/119103iCC31F30452BB1023/image-size/large?v=v2&amp;amp;px=999" role="button" title="associated-tracker-field-with-share-field.png" alt="associated-tracker-field-with-share-field.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Allowing us to use this new expression easily:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;max(List(max(subjects.{subject | subject.Ancestors + 1}), empty Parent ? 0 : Parent.Ancestors + 1))&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="lia-align-center"&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="4-ancestors-across-trackers.png" style="width: 999px;"&gt;&lt;img src="https://www.ptcusercommunity.com/t5/image/serverpage/image-id/119104iACEDA3565449DC44/image-size/large?v=v2&amp;amp;px=999" role="button" title="4-ancestors-across-trackers.png" alt="4-ancestors-across-trackers.png" /&gt;&lt;/span&gt;&lt;EM&gt;&lt;SPAN&gt;For this particular "Loram Ipsum 2" item, it has 4 ancestors - that being a User Story, with an upstream Feature, with an upstream System Requirements, with an upstream Customer Requirement.&lt;/SPAN&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This works within a single tracker as before by traversing the Parent, but also works across trackers by finding the max of all the Ancestors fields in the subjects tracker.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you had other upstream trackers to include, it would only require an adjustment to the formula to include them in the max function.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;max(List(max(subjects.{subject | subject.Ancestors + 1}), max(customChoice[3].{item | item.Ancestors + 1}), empty Parent ? 0 : Parent.Ancestors + 1))&lt;/LI-CODE&gt;&lt;P&gt;where &lt;EM&gt;&lt;U&gt;customChoice[3]&lt;/U&gt;&lt;/EM&gt; is a custom dropdown of other upstream item references for this example.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;HR /&gt;&lt;P&gt;Hopefully one of these solutions works for you, feel free to comment though if there are some additional needs related to this for whatever you are trying to accomplish!&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 18:10:43 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001964#M697</guid>
      <dc:creator>JosephM_SAI</dc:creator>
      <dc:date>2025-03-04T18:10:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use attribute "Outline Number" of Requirement Item in computed field expression</title>
      <link>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001977#M698</link>
      <description>&lt;P&gt;&lt;a href="https://www.ptcusercommunity.com/t5/user/viewprofilepage/user-id/913426"&gt;@JosephM_SAI&lt;/a&gt;&amp;nbsp;, thank you so much for your contribution!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I will explore these solutions and hope it will work well for me.&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":thumbs_up:"&gt;👍&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Mar 2025 18:44:09 GMT</pubDate>
      <guid>https://www.ptcusercommunity.com/t5/Codebeamer/How-to-use-attribute-quot-Outline-Number-quot-of-Requirement/m-p/1001977#M698</guid>
      <dc:creator>vjub58</dc:creator>
      <dc:date>2025-03-04T18:44:09Z</dc:date>
    </item>
  </channel>
</rss>

