Search found 8 matches

by scharph
Wed Jan 23, 2019 7:13 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Default value for "multi" enum
Replies: 1
Views: 406

Re: Default value for "multi" enum

I dont think thats possible

But you can create a default template workitem, with preconfiguread multiselected fields!

best regards
by scharph
Wed Jan 23, 2019 7:07 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: set assigne field
Replies: 4
Views: 574

Re: set assigne field

Maybe this helps #set( $projectsService = $trackerService.getProjectsService()) #foreach( $user in $projectsService.getUsers() ) >> $user.id - $user.getDescription().getContent() \\ #end or this #set( $assignee = $projectService.getUser($userid)) #set( $dummy = $newWorkitem.addAssignee($assignee)) a...
by scharph
Wed Aug 22, 2018 7:40 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Set Enum of new created Workitem
Replies: 1
Views: 1277

Re: Set Enum in new created Workitem

Found the solution by myself :idea: This is a multiselect field. I catch the empty field of the new workitem, and add the entries. Then set it with setValue #set( $customTypedList = $newWorkitem.getCustomField("interface") ) #set( $dummy = $customTypedList.add(0,$interfaceEnum.wrapOption($...
by scharph
Mon Aug 20, 2018 7:56 am
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Update workitem from velocity script
Replies: 1
Views: 835

Re: Update workitem from velocity script

https://almdemo.polarion.com/polarion/sdk/doc/javadoc/com/polarion/alm/ws/client/types/tracker/WorkItem.html $transactionService.beginTx() #set($newDate = "2018-08-20") #set( $wis= $trackerProject.queryWorkItems("dueDate:$newDate", "id") ) #foreach ($wi in $wis) #Get t...
by scharph
Wed Jul 04, 2018 12:53 pm
Forum: Polarion Application Lifecycle Management (ALM)
Topic: Set Enum of new created Workitem
Replies: 1
Views: 1277

Set Enum of new created Workitem

I want to create a new Workitem and set the value of a custom field("interface"). The custom field has type enum and there a multiple values possible! The enum is custom created in a [workitem]-[title]-enum.xml in the same project My Problem: i have the id("team_6") of the enum w...

Go to advanced search