Remove All Votes for Issue

Is there a command or API method to remove all of the votes for a given issue? We have an internal list of issues that we like to revote on every once in a while that we would like to clear out all of the votes on.
5 comments
Comment actions Permalink
Hello Steve,

Sure,
With command
unvote
prettyPrint(); you'll take your vote back.

Thank you.
0
Comment actions Permalink
I want to remove all votes from all users for a given issue; not just my own vote. I am an admin for this youtrack instance.
0
Comment actions Permalink
Steve,

I see. Unvoting is available only for vote owner.

Thank you.
0
Comment actions Permalink

Five years down the road we have a need for the same thing.  Using YouTrack 2019.1 Build 52973 might there be a way to do this?

 

 

0
Comment actions Permalink

Hello,

Please feel free to user workflows for that. For example, an on-schedule rule which runs once in a certain period of time and performs User.unvoteIssue() operation (https://www.jetbrains.com/help/youtrack/standalone/v1-User.html#unvoteIssue).

Please let me know if it helps. 

0

Please sign in to leave a comment.