Client passed undefined keys

Description
rpn
Posts: 18
Joined: Thu Oct 26, 2017 4:08 pm

Client passed undefined keys

Postby rpn » Fri Jul 27, 2018 7:46 am

I am trying to get all the WorkItem-customFields dynamicly, to let the the user decide, which ones to load.

If I retrieve the customField-Keys from the webservice and pass them to the getWorkItemByUriWithFields-Method, I get an Exception:
com.polarion.alm.ws.WebserviceException: Client passed undefined keys

Which does not fit the Documentation which states:
getCustomFieldKeys(java.lang.String workitemURI)
Gets the names of defined custom fields.


Does anyone know, if it is possible to retrieve only the defined keys?

I could load the whole workitem, but it defies the idea of making my queries smaller by letting the user choose the fields he wants...
No native speaker, sorry for my bad English.

Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 8 guests