---
schema: rendered-html/v1
title: "Deactivate Voting for Issues | Developer Portal for YouTrack and Hub Documentation"
source_url: https://www.jetbrains.com/help/youtrack/devportal/deactivate-voting.html
generated_at: 2026-06-11T15:02:43.947747+00:00
---

Feedback

Thanks for your feedback!

Was this page helpful?

YesNo

Developer Portal for YouTrack and Hub

- Developer Portal
- Apps
- MCP Tools
- YouTrack Workflows
- JavaScript Workflow Quick Start Guide
- Create a Workflow
- Edit a Workflow
- Workflow Rule Types
- Transactions
- Use Cases for Workflows
- Restrict Issue Visibility with Workflows
- Prevent Unwanted Updates
- Prevent Issue Deletion with Workflows
- Streamline Issue Reporting
- Automate Work Handoffs
- Generate Issues Automatically
- Update Fields on Issue Update
- Propagate Values Between Issues
- Track Spent Time
- Generate Time Reports
- Enhance Helpdesk Support
- Send Internal Newsletters
- [Deactivate Voting for Issues](deactivate-voting.html)
- Web-based Workflow Editor
- Using an External Code Editor
- Default Workflows
- Custom Workflow Repository
- JavaScript Workflow Reference
- YouTrack Import Scripts
- YouTrack Form API
- YouTrack REST API
- Hub REST API

1. YouTrack Workflows
2. Use Cases for Workflows
3. [Deactivate Voting for Issues](#0)

# Deactivate Voting for Issues﻿

Last modified: 07 May 2026

There are several scenarios where you think voting for issues is inappropriate for specific projects or is simply something you'd rather your team didn't pay attention to. While there isn't an option to switch voting off system-wide, you can effectively deactivate the feature with a simple workflow.

## Switch Voting Off for All Issues﻿

The following workflow checks for updates in an issue. If the user attempts to update the issue by voting for it, the action is blocked and a message is shown as an alert.

```
const entities = require('@jetbrains/youtrack-scripting-api/entities');
const workflow = require('@jetbrains/youtrack-scripting-api/workflow');

exports.rule = entities.Issue.onChange({
    title: 'Block votes for issues',
    guard: function(ctx) {
        return ctx.issue.isChanged('votes');
    },
    action: function(ctx) {
        workflow.check(false, 'Voting for issues is switched off in this project');
    },
    requirements: {}
});
```

This effectively blocks users from adding votes to any issues that belong to a project where this workflow rule is active. Note that this workflow blocks all changes for votes, which means it will also prevent users who have already voted from an issue from taking their votes back.

## Block Votes for Resolved Issues﻿

YouTrack also supplies a default workflow that lets you block votes in issues that have already been resolved. Voting for unresolved issues is still allowed.

To learn more about this workflow, see Vote Blocker.

- [Deactivate Voting for Issues](/help/youtrack/devportal/deactivate-voting.html)
- [Switch Voting Off for All Issues](/help/youtrack/devportal/deactivate-voting.html#deactivate-all-votes)
- [Block Votes for Resolved Issues](/help/youtrack/devportal/deactivate-voting.html#blocking-votes-for-resolved-issues)

Send Internal NewslettersWeb-based Workflow Editor

- Privacy & Security
- Terms Of Use
- Trademarks
- Legal

Copyright © 2000–2026 JetBrains s.r.o.
