Forums

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

Can't access the "Category" field with JQL query when searching for text

Nils Herhaus
Contributor
April 19, 2024

Hey, I unfortunately can't get around it. I try to access the Category field of my Jira tickets within a created rule. 

For example I want to search issues by category e.g. I have the Categories ("Process 1", "Process 2", "Process 3"). When I use the lookupIssue component and try to search 

category = "Process 1" 

I don't get any issues even though I know that the category exists.

Best regards

Nils 

2 answers

1 accepted

2 votes
Answer accepted
YY Brother
Community Champion
April 19, 2024

Hi @Nils Herhaus 

Welcome to our Community. It seems you're using the incorrect field name. Please see:

category = 标准产品

image.png

Hope it helps & Thanks,

YY哥

Nils Herhaus
Contributor
April 23, 2024

Hi Thx so much. It worked. I actually had to call the category field like this:
"Category[Category]" = "[Process-Name]".

 

Best 

Nils

1 vote
Kalyan Sattaluri
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 19, 2024

Hello @Nils Herhaus 

You havent said if you can search by category = "Process 1" in normal issue search and it returns results, outside of the rule.. so could be many things why you are not seeing results, 

  • there are no issues with "Process 1"
  • Your JQL syntax is wrong,
  • you are searching for issues outside of your rule scope,  etc.

So, Cannot tell what could be the cause with what info you have shared so far.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events