# votedIssues() in JQL: syntax and examples

URL: https://goingstellar.ro/reference/jql/votedissues/

votedIssues() returns the work items you have voted for. Atlassian renamed it votedWorkItems() in its docs, and both names run. Use it to rebuild your own watch-list of wanted features, or with NOT IN to find popular work you have not backed yet.

## Syntax

```
votedIssues()
votedWorkItems()
```

## Works with

- Fields: issue (also written key)
- Operators: IN, NOT IN
- Not with: =, !=, ~, !~, >, >=, <, <=, IS, IS NOT, WAS, WAS IN, WAS NOT, WAS NOT IN, CHANGED
- Needs: a logged-in user. The docs say it returns up to 32,000 IDs.

## Examples

```
issue in votedIssues()
```

Every work item you have voted for. The classic form of the function. Run on Jira Cloud on 2026-11-29.

```
issue in votedWorkItems() AND project = MOB
```

Your votes inside the MOB project only. The newer name behaves the same as the old one. Run on Jira Cloud on 2026-11-29.

```
issue in votedIssues() AND statusCategory != Done ORDER BY created DESC
```

Things you asked for that are still open, newest first. A good list to bring to a roadmap review. Run on Jira Cloud on 2026-11-29.

```
project = WEB AND statusCategory != Done AND issue not in votedIssues()
```

Open WEB work you have not voted on. Go through it when you want to say which items matter to you. Run on Jira Cloud on 2026-11-29.

```
votes >= 3 AND issue not in votedIssues() AND statusCategory != Done ORDER BY votes DESC
```

Work that other people already back, but you have not. The votes field gives the count, the function gives your own part. Run on Jira Cloud on 2026-11-29.

## Pitfalls

- The doc example `work item in votedWorkItems()` does not run: "Error in the JQL Query: Expecting operator but got 'item'." The JQL field is still called `issue`, so write `issue in votedWorkItems()` (checked on Jira Cloud, November 2026).
- The function lists IDs, so `=` fails: "Operator '=' does not support the list value 'votedIssues()' for field 'issue'." Use `IN` or `NOT IN` (checked on Jira Cloud, November 2026).
- It takes no argument and only knows about you. `votedIssues(WEB)` fails with "Function 'votedIssues' expected '0' arguments but received '1'." To work with votes in general, the `votes` and `voter` fields are separate fields (checked on Jira Cloud, November 2026).
- Mistyped names are not forgiven: `votedIssue()` gives "Unable to find JQL function 'votedIssue()'." (checked on Jira Cloud, November 2026).

## Questions and answers

### Is votedIssues() the same as votedWorkItems()?

Yes. Atlassian renamed the function in its docs. Both names run, and you still write issue in before them.

## Related

- [watchedIssues()](https://goingstellar.ro/reference/jql/watchedissues/)
- [issueHistory()](https://goingstellar.ro/reference/jql/issuehistory/)
- [IN](https://goingstellar.ro/reference/jql/in-operator/)
- [NOT IN](https://goingstellar.ro/reference/jql/not-in-operator/)
- [key](https://goingstellar.ro/reference/jql/issuekey-field/)
- [currentUser()](https://goingstellar.ro/reference/jql/currentuser/)

## Sources

- [JQL functions (Atlassian Support, Jira Cloud)](https://support.atlassian.com/jira-software-cloud/docs/jql-functions/)

