Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

How to report on custom fields in JQL?

Jacek Darlinski April 11, 2019

Is there any way to report on custom fields in a next-gen project in JQL?

1 answer

0 votes
Nic Brough -Adaptavist-
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.
April 12, 2019

No, but this is because JQL does not do reports.  JQL finds issues that match it and returns a list of those issues.  Reports use those lists and extract data from the issues related to what they're trying to report on.

So what you need to look at is what you want to "report"?  Given a pile of issues, what do you want to see about them?

Jacek Darlinski April 12, 2019

@Nic Brough -Adaptavist-  Sorry, let me clarify the question then: Can I query next-gen custom fields in JQL? I want to be able to return the custom fields in the output, as well as apply conditions using those fields.

 

Thanks! 

Nic Brough -Adaptavist-
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.
April 12, 2019

Sorry - I'm at an airport after Summit (which is 4 days talking and walking, with added beer).   I'm a bit tired and didn't think to expand on a partial guess as to what you might need

JQL does not care what the custom fields are used for, only that that there is data in the fields and that they have a "searcher" (all fields have one by default, it's a pretty obscure thing to remove a searcher from a field completely - useful in some places, so we can, but you won't run into those cases often!).

Having said that, some Next-gen fields are not really fields and hence don't get searched by JQL.  Are there any in particular you are searching on?

Suggest an answer

Log in or Sign up to answer