Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Access to "Votes" fields in JQL?

Barry van Oudtshoorn August 28, 2023

I can't seem to work out how to use "vote" fields in JQL queries. In my particular use case, I want to use JQL to select all issues with a number of votes above a certain threshold, then use a bulk action to add a label to all of them.

The workarounds at present are to manually note down each issuekey for the query (i.e. `issuekey in (AX-12, AX-34, AX-58, ...)`) based on my JPD view and apply the bulk operation from there, or to simply go into each item one-by-one and add a label.

I must be missing something somewhere, because I would have expected that every field in an issue is available for use in JQL. I did try watching network traffic to see if I had to identify the field using `cf[12345]` syntax, but I didn't spot anything in the request or response that looked helpful -- although I did see that `fieldId`, `fieldName`, and `jiraFieldKey` were all null.

2 answers

Suggest an answer

Log in or Sign up to answer
0 votes
Marc Koppelaar - Devoteam
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2023

Hi @Barry van Oudtshoorn 

I see you can use votes in JPD, if you add a field based on voting.

But JPD can only JQL on the voter not on the number of votes.

The votes (number based) is only used, based on non JPD projects.

0 votes
Omer Meshar
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
August 28, 2023

Hi,
You can find a similar discussion with some alternatives here 

Hope this helps.

Barry van Oudtshoorn August 28, 2023

Thanks @Omer Meshar -- that's a step in the right direction! I'm still quite confused by just how separate JPD is from everything else in JIRA. Hopefully the team can make it feel more like a fully-integrated part of JIRA over the next couple of months. :)

Like Omer Meshar likes this
TAGS
AUG Leaders

Atlassian Community Events