Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

License History Provider

Anyone knows if there is a License History Provider similar to Process Area History Provider to retrieve history details about license assignment e.g. who assigned, when assigned, which type of license etc.

Thanks in advance.
Cheers.

0 votes



One answer

Permanent link
We found something strange... Repository stores first license assignment. Scenario:
  1. Assign license
  2. Remove license
  3. Assign license
  4. Query license assignment as:
LicenseAssignmentQueryModel queryModel = LicenseAssignmentQueryModel.ROOT;
IItemQuery itemQuery = IItemQuery.FACTORY.newInstance(queryModel);
IPredicate predicate = queryModel.contributor()._eq(itemQuery.newItemHandleArg());
itemQuery.filter(predicate);
List<IItemHandle> items = queryService.queryItems(itemQuery, new Object[]{ contributorH }, IQueryService.ITEM_QUERY_MAX_PAGE_SIZE).getItemHandles();
Query results will contain details from first assignment (pt. 1) not the last one (pt. 3) e.g., modified and modifiedBy fields.
Sadly, you cannot obtain this details at pt. 2 via API even if data are present on database.

Looking for some hints from RTC Devs...
Cheers.

0 votes

Your answer

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941
× 110

Question asked: Feb 06 '18, 9:07 a.m.

Question was seen: 2,414 times

Last updated: Feb 08 '18, 8:53 a.m.

Confirmation Cancel Confirm