How to get project head revision

Posts: 29
Joined: Tue Nov 29, 2016 3:30 pm

How to get project head revision

Postby mhoe » Mon Feb 19, 2018 9:35 am

Hi all,

i have a LiveReport page with a Workitem table. Now i want to show the Project head revision to that the current view of the workitems belong. I know how to get the revision of the page

Code: Select all


but that is not what i need since the page revision only represents the sourcecode of the LiveReport. I Need the head revision of all workitems in the current view.

Thanks in advance

Posts: 75
Joined: Tue Sep 12, 2017 1:02 pm

Re: How to get project head revision

Postby Jürgen » Tue Feb 20, 2018 11:37 am

I think the only way to do that is to get each of those work items and check in each one, which is the head revision and then show the highest number. If you have a table of work items then you could gather that information during table creation, when you have each work item open already. Or you could display for each work item a column in the table with the head revision number.

Any other way would probably result in a wrong number, because e.g. the latest revision number in that project could be something completely different, like for example the revision number from adding a user to the project.

Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 4 guests