Generate Release Notes - Using lookup_a_work_item #1517
-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Sorry, I do not know how to put Labels in a discussion, this was supposed to be with: [GenerateReleaseNotes (XPlat version)] |
Beta Was this translation helpful? Give feedback.
-
Sorry you did not find what you needed in the documentation. I do make a serious effort document all the features, but I cannot cover all the edge cases. A few points that could be of use ../ & Tree DepthThe number of Is the data you want present?You are looking in the There are two parameters relevant here to populate this array
The first gets DIRECT parents and children i.e. one level to an associated WI to a commit I think neither of these will provide the result you want i.e. all the children of an Epic. Assuming the Epic is associated with the commit the best you can get the the direct children i,e, Features. DebuggingTo dig into this more have you used the command line tester, this allows easy rerunning and experimentation with templates. Also I would recommend setting the |
Beta Was this translation helpful? Give feedback.
Sorry you did not find what you needed in the documentation. I do make a serious effort document all the features, but I cannot cover all the edge cases.
A few points that could be of use
../ & Tree Depth
The number of
../
tree levels required depends on the nesting of yourforeach
loops. All the arrays of objects are in the root, so if you want to reference an array from within a top levelforeach
it is../
, If you have two nestedforeach
loops it is../../
etc. That said it is confusing and there I aways have to use a bit of trial and error.Is the data you want present?
You are looking in the
relatedWorkItems
array for these child WI, but are the ones you need present in this array?Th…