Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note that you have to provide correct work item ID as the first parameter of completeWorkItem method.

Unfortunately, the approval/rejection is logged under administrator account. It is not possible to use non-admin account to carry out this action, because Groovy script execution requires the strongest authorization (because of the security implications).