Coder Social home page Coder Social logo

Comments (3)

Inlustris avatar Inlustris commented on July 18, 2024

@BlueBasher Is it possible to look at this ASAP? Would like to use it but now i have to bypass the step because it fails.

from workitemupdater.

Rachel-Brickey avatar Rachel-Brickey commented on July 18, 2024

EDIT: I have created a PR for this fix. #94

We recently had a similar problem where the WorkItemUpdater would say it updated the status of several tickets but did not save any changes to status.

@Inlustris
The updater will work as intended if you de-select the "bypass rules" checkbox. The "bypass rules" checkbox is no longer properly wired up to do what it is meant to do. I had to clone the WorkItemUpdater repo and compile it to find the problem (see below).

@BlueBasher
On line 366 of WorkItemUpdater.ts, settings.bypassRules is passed into workItemTrackingClient.updateWorkItem(...) as the 5th parameter when it really should be the 6th. validateOnly is the 5th parameter, which tells the API not to save any changes from the request, so no updates are applied when the "bypass rules" checkbox is selected.

From src\WorkItemUpdater\node_modules\azure-devops-node-api\WorkItemTrackingApi.d.ts:
image

from workitemupdater.

BlueBasher avatar BlueBasher commented on July 18, 2024

A new version has now been released with this fix, had some issues with the release pipelines... Thanks for the help with this @rbrickey-rogue

from workitemupdater.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.