Search found 37 matches

by DCwom
Fri Jan 04, 2019 7:40 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Color values for enumeration options: Do they actually work in any other enumeration than the severity field?
Replies: 1
Views: 2270

Re: Color values for enumeration options: Do they actually work in any other enumeration than the severity field?

I have the same issue. I'd like to set an enum to "white" so that it isn't displayed in my live doc but remains in my work item. Sorry to see no one has responded.
by DCwom
Thu Nov 02, 2017 5:47 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Find non-WI text in a Live Doc
Replies: 0
Views: 2186

Find non-WI text in a Live Doc

I'm looking for a way to find non work item text in a Live Doc, i.e. un-tagged lines of text. A wiki would be nice, but a Jave plugin would also work if I have to. Any ideas?
by DCwom
Wed Jan 11, 2017 4:22 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Access Live Document Comments from Wikipage/Velocity?
Replies: 5
Views: 5387

Re: Access Live Document Comments from Wikipage/Velocity?

Ok, I solved my own problem, here's my wiki code. Now if I can only figure out how to check if the recycle bin is empty... ### ### This script checks all of the Live docs in the space named Verification to see if they have any Live Doc comments (not WI comments). ### #set($docsList = $trackerService...
by DCwom
Tue Jan 10, 2017 6:59 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Access Live Document Comments from Wikipage/Velocity?
Replies: 5
Views: 5387

Re: Access Live Document Comments from Wikipage/Velocity?

I only want to know if there are comments for a given Live Doc so I tried just this code snippet: #set ($docComments=$doc.moduleName.getComments()) #if ($docComments.isEmpty()) *Empty* #else *NOT Empty* #end But the code always returns NOT empty even if no comments exist in the Live Doc
by DCwom
Mon Apr 20, 2015 5:01 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Export Word document without round-trip features
Replies: 2
Views: 3918

Re: Export Word document without round-trip features

Is there a way to export a Word document without the requirements of round-trip; i.e. Review, Prioritization or Collaboration. Basically I want to export a Word document that does not have any editing restrictions on the work items; they are just plain. After export we can turn off the restricted e...
by DCwom
Mon Feb 02, 2015 9:34 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: List & choose Plans in a wiki
Replies: 6
Views: 6618

List & choose Plans in a wiki

I'm trying to create a wiki page that displays WIs from various plans. I'm trying to get a list of plans within a project and either loop through them or put them in a dropdown box for user selection. I've got the code to find the WIs in a plan but I'm having difficulty finding all the plans in a pr...
by DCwom
Fri Jan 30, 2015 6:10 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Wiki - Calculate custom dates for query, how?
Replies: 1
Views: 3422

Wiki - Calculate custom dates for query, how?

I'm trying got do a query of work records for 7 days prior to a user specified date (i.e. the last 7 days). I've had some success using the $datetool from the wiki script extension and subtracting the number of milliseconds in 7 days (1209600000), but I really want an interval from 12:01AM to 11:59P...
by DCwom
Thu Jan 22, 2015 6:02 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Can't find the document field for a WI
Replies: 5
Views: 4846

Re: Can't find the document field for a WI

Hello Dennis, But indeed you don't need this method. Your "docWI" already is an object of type IWorkItem for which you can call method "addAprovee(...)". Martin, Thanks again for the help, I had tried the IWorkItem type earlier, but now I see why it didn't work for me the 1st ti...
by DCwom
Wed Jan 21, 2015 7:03 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Can't find the document field for a WI
Replies: 5
Views: 4846

Re: Can't find the document field for a WI

I think I've solved my own question. I'm able to use the following function to get the list of WIs in the module. var allWI = workItem.getModule().getAllWorkItems(); But I still can't retrieve the individual WIs. What I want to do is access each WI in the list of returned WIs and add an approver to ...
by DCwom
Wed Jan 21, 2015 2:51 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Can't find the document field for a WI
Replies: 5
Views: 4846

Re: Can't find the document field for a WI

Hello Dennis, because of historic reasons Polarion Documents are internally called "Modules". Therefore you need the method "IWorkItem.getModule()" to get a "IModule" object, which represents the document where the WorkItem is located in. IWorkItem.getModule().getModul...
by DCwom
Tue Jan 20, 2015 7:04 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Can't find the document field for a WI
Replies: 5
Views: 4846

Can't find the document field for a WI

I'm trying to find the document in which a work item resides. I've tried the getLocation() method which gives a long path, but that doesn't help. The getModuleURI () method looks promising but it won't run, I get a "Cannot find function" error. Any ideas of the best way to find the documen...
by DCwom
Mon Dec 29, 2014 7:22 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Delete Assignees via script
Replies: 1
Views: 2728

Delete Assignees via script

I'm trying to delete all assignees of a WI and assign the author as the only assignee. The following code works to add the author but only partially works with the deletion of old assignees. var workItem = workflowContext.getWorkItem(); var authorName = workItem.getAuthor().getName(); // String For ...
by DCwom
Fri Dec 26, 2014 8:24 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Set author as assignee
Replies: 1
Views: 2630

Set author as assignee

I want to set the assignee of a work Item to the author (during a transition to a resolved state). I am using the scripting extension and have success fully managed to get the author's id in my script but once again I am baffled by the Polarion API when I try to set the assignee. I've tried numerous...
by DCwom
Tue Dec 09, 2014 1:53 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Unprotecting Word round-trip file
Replies: 0
Views: 4078

Unprotecting Word round-trip file

I'm trying to create some VB scripts to do some processing on the Word round trip files exported by Polarion. I can turn off the change tracking during my VB script but it always gets turned back on when the Word file gets saved. I think this might be due to the Word file being protected, does anyon...
by DCwom
Tue Dec 02, 2014 7:30 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Wiki query of documents with WIs needing approval
Replies: 1
Views: 2712

Wiki query of documents with WIs needing approval

I'm trying to write a wiki query to find documents that contain work items needing approvals. I was thinking I could use this line to find work items needing approvals: {workitems:approvals:fullxxxwaitingxxx$me|sortby=~plannedStart priority severity|top=20|fields=id,title,priority,project|group=/} T...

Go to advanced search