Search found 23 matches

by rpn
Mon Oct 29, 2018 5:58 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: TrackerWebService and the Access to Planning-Data
Replies: 2
Views: 311

Re: TrackerWebService and the Access to Planning-Data

We don't use those fields here, so I can't check, if we get the values. Maybe it is worth a try to cast the query-results from tracker.workitem to planning.workitem - atleast these are defined as to different classes in the .net-wrapper. https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/pola...
by rpn
Mon Oct 29, 2018 5:45 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: SDK: Tracker.getModuleWorkItemUris without parentURI
Replies: 3
Views: 233

Re: SDK: Tracker.getModuleWorkItemUris without parentURI

Turns out it was a corrupted index on our instance.
If you run in issues like that, make sure your index is not corrupted.
by rpn
Wed Oct 17, 2018 3:50 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: SDK: Tracker.getModuleWorkItemUris without parentURI
Replies: 3
Views: 233

Re: SDK: Tracker.getModuleWorkItemUris without parentURI

Our Admin says there where no changes in our productive system and the sdk-code did not change on client-side, so I have no idea why this stopped working. Anyway: I found a workaround by adding the decorator [System.Xml.Serialization.XmlElementAttribute(IsNullable = true)] to make the field explicit...
by rpn
Wed Oct 17, 2018 12:38 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: SDK: Tracker.getModuleWorkItemUris without parentURI
Replies: 3
Views: 233

SDK: Tracker.getModuleWorkItemUris without parentURI

A call of getModuleWorkItemUris stopped working in my client-code today. I let the user select his projectgroup, project and then the module/document he wants to view. The Parameters of this function are defined as follows: Parameters: moduleURI - The Module/Document URI. parentWorkItemURI - The URI...
by rpn
Wed Aug 29, 2018 4:07 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: TrackerService How to get Inherited Custom Fields
Replies: 0
Views: 355

TrackerService How to get Inherited Custom Fields

Iam querying WorkItems by uri with the following Method of TrackerService: getWorkItemByUri(java.lang.String uri) [Gets a Work Item with all fields set.] Iam interested in the timePoint of the items - but it is set to null. In the WebView it is shown under 'Inherited Custom Fields' - is it possible ...
by rpn
Wed Aug 15, 2018 9:13 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: trackerService does not handle documentTitle
Replies: 2
Views: 449

Re: trackerService does not handle documentTitle

I don't know if this is configurable, but if I convert a document-title-query to text it shows as document.title:(MyDocumentTitle) And I can use that without any escaping (even if the title contains spaces) in the trackerService. By fails, you mean, that no workitems are found by the query, or what ...
by rpn
Wed Aug 01, 2018 3:35 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Polarion and C#
Replies: 12
Views: 9989

Re: Polarion and C#

Would it be possible to post the code (solution) here again? The original Solution is still online, the link to it is hiding in the following pdf-file. https://polarion.plm.automation.siemens.com/hubfs/Docs/Guides_and_Manuals/How-to-call-Polarion-from-DOT-NET.pdf The link to the Solution: https://w...
by rpn
Wed Aug 01, 2018 1:23 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: c# polarion problem
Replies: 5
Views: 716

Re: c# polarion problem

I don't have the time to debug your code, but on the first look the static void GetWorkItems(string query) Method you posted is not doing anything. It queries for a single WorkItem with a Hardcoded URI, than declares and initializes an integer called index and waits for a keypress. After that, it re...
by rpn
Tue Jul 31, 2018 8:26 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: c# polarion problem
Replies: 5
Views: 716

Re: c# polarion problem

Sorry, I am not allowed to share the code I am working on. The code linked in the whitepaper is working for me and there is not much more to it, than retireve ProjectSpaces, Projectes (, Modules) and then query the workitems with the uris from those. Whitepaper: https://polarion.plm.automation.sieme...
by rpn
Mon Jul 30, 2018 1:06 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Get work item from whole repository with Java API
Replies: 2
Views: 12237

Re: Get work item from whole repository with Java API

I am using the WebServices via the .ne-wrapper, the methods there should be the same. Why don't you iterate over all projects/Modules/WorkItems in that space and search for the item in every project? Alternative 1: The TrackerService has a method that allows you to pass an arbitrary lucene-query: Tr...
by rpn
Mon Jul 30, 2018 12:51 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: list of the projects available for the logged in user
Replies: 1
Views: 1021

Re: list of the projects available for the logged in user

https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/ws/client/projects/ProjectWebService.html#getContainedProjects-java.lang.String- states that the uri-parameter for that function is the projectGroup-URI, not that of a user. I just let the user do the login and then query the pro...
by rpn
Mon Jul 30, 2018 10:53 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: c# polarion problem
Replies: 5
Views: 716

Re: c# polarion problem

There are different Services for different products of Polarion. The Connection in the Sample-Code holds references to Wrappers for these services. SampleWebServiceAPI { [...] // WebServices public BuilderWebServiceClient Builder { get { return Factory.WebServices[WebServiseFactory.Builder]; } } pub...
by rpn
Fri Jul 27, 2018 7:46 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Client passed undefined keys
Replies: 0
Views: 422

Client passed undefined keys

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 undefi...
by rpn
Tue Jul 24, 2018 11:23 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Access non-work item information from web API
Replies: 1
Views: 346

Re: Access non-work item information from web API

I get those as WorkItems with a typeid "Text", when I query for all WorkItems in a Module/Document.

Go to advanced search