trackerService in javascript block

Posts: 7
Joined: Wed Sep 02, 2015 12:34 pm

trackerService in javascript block

Postby thomas.boll » Fri Jul 07, 2017 1:16 pm


can someone help me how to use the $trackerServer in javaScript block.
I what to modify something in a Workitem, when I click on a button.

Code: Select all

<button id="button1" onclick="ChangeState('$wi.getId()');">Click</button>
<script type="text/javascript">
   function ChangeState(wi)
      Change state of workitem wi

Hope someone has already a solution for that.

Best regards

Posts: 54
Joined: Fri Jan 18, 2013 4:43 pm
Location: Germany / Frankfurt

Re: trackerService in javascript block

Postby smarty » Fri Jul 14, 2017 5:45 pm

Hello Thomas,
this post has an example, based on the FMC Workitemsave extension

Regards, Martin
My environment: Polarion ALM 2016 SR2 on Windows Server 2012,
Polarion-JIRA Connector to JIRA 7.x

Posts: 4
Joined: Tue Mar 13, 2018 4:16 pm

Re: trackerService in javascript block

Postby stewarca » Tue Mar 13, 2018 7:08 pm

Hey Thomas,
Were you able to create a button that runs custom Javascript?


Return to “Polarion Application Lifecycle Management (ALM)”

Who is online

Users browsing this forum: No registered users and 23 guests