Search found 20 matches

by PatrickClaus
Tue Nov 12, 2019 2:13 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: User info triggered from wf condition
Replies: 2
Views: 2389

Re: User info triggered from wf condition

As Steffen mentioned, in workflow conditions this seems to be the preferred way. Calling alert() is not possible, but showing a tooltip / hover explanation via string is possible. Example: var return = "Status Transition blocked: Workitem field must be so_and_so!"; var field = workflowCont...
by PatrickClaus
Tue Oct 01, 2019 10:28 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Documents and Pages not visible after "Mark as Project"
Replies: 2
Views: 261

Re: Documents and Pages not visible after "Mark as Project"

Hello all, just checking by with a short idea, to make sure: All Report Pages + Module files are kept in the SVN, in these folders: _wiki .polarion/pages/spaces modules To ensure that all Wiki, LiveReport and Module objects are taken over to the new document, have you made sure that the SVN repo fol...
by PatrickClaus
Tue Jul 02, 2019 2:39 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Finding TestCases which are not contained in a TestRun
Replies: 4
Views: 850

Re: Finding TestCases which are not contained in a TestRun

Quick and Dirty On a LiveReport Page in a Script Block, I have tried the following: #set($workItemList = $trackerService.queryWorkItems("project.id:(YOUR-PROJECT-ID) AND type:YOUR-TEST-CASE-ID", "id")) #set($testRunList = $testManagementService.searchTestRuns("project.id:(Y...
by PatrickClaus
Mon Mar 18, 2019 10:46 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Porting pre-save JS script to nashorn
Replies: 6
Views: 1068

Re: Porting pre-save JS script to nashorn

Most properties are not directly listed in the polarion.properties file, unfortunately. You can add the property yourself + restart the service, just to make sure. I am not sure what the default setting is, but this should exclude the possibility of any script adaption for older versions. And yes - ...
by PatrickClaus
Thu Mar 14, 2019 9:54 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Porting pre-save JS script to nashorn
Replies: 6
Views: 1068

Re: Porting pre-save JS script to nashorn

Hello again, I was just testing this on my local Polarion ALM 18.3 running on OpenJDK 11.0.1+13, and the result is as follows, for the following script: https://serving.photos.photobox.com/754430068bf0cf9786e0e312c23d347896187056547bc9a6dd48c8c58bccf70d605237cb.jpg This at least confirms that the ca...
by PatrickClaus
Wed Mar 13, 2019 10:07 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Porting pre-save JS script to nashorn
Replies: 6
Views: 1068

Re: Porting pre-save JS script to nashorn

Hello drouleau, I am not sure if your code does not do this already, but try adding the explicit call to import the desired package, like so: // Load compatibility script load("nashorn:mozilla_compat.js"); // Import the java.awt package importPackage(com.polarion.alm.tracker.model); Let us...
by PatrickClaus
Wed Mar 13, 2019 9:48 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Unable to save comment programmatically
Replies: 2
Views: 732

Re: Unable to save comment programmatically

On first glance, I think the problem is caused at some other position in the code. Seeing as the cause for the error message seems to be this part in the error log: Caused by: java.lang.ClassNotFoundException: There is no contribution with name BomCdnPublishing for prototype WorkItem ...Caused by: j...
by PatrickClaus
Tue Mar 12, 2019 2:35 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: How do i create new workitem using Polarion openAPI?
Replies: 5
Views: 1258

Re: How do i create new workitem using Polarion openAPI?

As the above poster mentioned, have a look at: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/tracker/ITrackerService.html and use the createWorkItem method. Note that it specifically mentions that this Object is not persisted (yet). You need to call: $transactionService.begi...
by PatrickClaus
Tue Mar 12, 2019 2:08 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Referenced WorkItems in a Document
Replies: 2
Views: 800

Re: Referenced WorkItems in a Document

Dear fml, if you want to do this over a ScriptBlock in a LiveReport page, my suggestion would be the following: 1) Try to access the IModuleManager provided by the Polarion OpenAPI, see here: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/tracker/IModuleManager.html You can d...
by PatrickClaus
Thu Oct 04, 2018 1:39 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Resolve module verdict comment ?
Replies: 1
Views: 799

Re: Resolve module verdict comment ?

On first glance, both the Workitem Object and the ICommentBase Object from Signature.getVerdictComment() have a .save method. When you use the setter methods, you are modifying the local instances of the objects, not the one in your repo. I think this is the case here as well. To make the changes re...
by PatrickClaus
Thu Oct 04, 2018 1:28 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Create Time triggered baselines
Replies: 1
Views: 863

Re: Create Time triggered baselines

For some first ideas, I would suggest checking out: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/tracker/IBaselinesManager.html The Interface in the Polarion API has a function createBaseline(java.lang.String name, java.lang.String description, java.lang.String revision, IU...
by PatrickClaus
Tue Oct 02, 2018 9:23 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Ensure single assignee
Replies: 7
Views: 1807

Re: Ensure single assignee

Hello sk-tsb, I would not really recommend this solution - but if absolutely needed, you can implement a savehook script to check for size of assignee list on every save of the workitem. Keep in mind that this can be taxing on performance and load times, but if only needed for certain projects and s...
by PatrickClaus
Thu Jun 07, 2018 12:02 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Create link, addLinekdItem function
Replies: 2
Views: 1976

Re: Create link, addLinekdItem function

Two suggestions: - Check your addLinkeditem Method. See the API DOC: https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/tracker/model/IWorkItem.html#addLinkedItem-com.polarion.alm.tracker.model.IWorkItem-com.polarion.alm.tracker.model.ILinkRoleOpt-java.lang.String-boolean- The me...
by PatrickClaus
Fri Apr 27, 2018 12:32 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: (SOLVED) Is it possible to change the type of a work item through bulk edit, the API or a Wikipage?
Replies: 2
Views: 2759

Re: Is it possible to change the type of a work item through bulk edit, the API or a Wikipage?

This might be a real dirty solution, but do you have any way of doing this edit through SVN search and replace? I mean, it sounds kind of stupid, but it would be a solution that does not require you to click through each single workitem. Check out the repository of the project, locate the 600 workit...
by PatrickClaus
Thu Apr 26, 2018 1:34 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Error while connecting HTTPS Polarion Server
Replies: 2
Views: 2311

Re: Error while connecting HTTPS Polarion Server

Hello Yashgolwara, my first instinct would be that there is a problem with authentification and certification. When connecting to SSL / HTTPS, you have to make sure that you have set the necessary certificate and authentification settings, especially for external Java Services connecting through Web...

Go to advanced search