Search found 1 match
Search found 1 match • Page 1 of 1
- Tue Apr 11, 2017 12:02 pm
- Forum: Polarion Application Lifecycle Management (ALM)
- Topic: scriptFunction and types
- Replies: 0
- Views: 1791
Hi, We want to increment a custom field of a work item when transitioning to a certain state. The custom field is an Integer type, called versionAsInt. We've added a script containing the following: var wi = workflowContext.getTarget(); // Get the value of the custom field, increment with 1 and writ...