Forums

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

Unable to search JIRA tickets with the custom field having value as /

RakeshA October 18, 2020

In our JIRA configuration we have a custom field. When I am using advanced search I am not able to search the JIRA ticket when the the value of the custom field is /

Below is the Sample query which I am trying:

project = SAPMS AND status = Resolved AND fixVersion = V29.1 AND "SF#[Paragraph]" ~ '/' order by created DESC

 

I also tried below query by putting two backslashes in the front but no success.

project = SAPMS AND status = Resolved AND fixVersion = V29.1 AND "SF#[Paragraph]" ~ '\\/' order by created DESC

 

Please help 

2 answers

0 votes
Ziad Bakhiet
Contributor
October 20, 2020

Hello RakeshA,

You can get the result using JQL Search Extensions.

The JQL will look as following:

project = SAPMS AND status = Resolved AND fixVersion = V29.1 AND issue in regex("SF#[Paragraph]", "/") order by created DESC

This JQL will matches issues with a custom field equal to "/"

The full documentation can be found here.

Regards,

Ziad

0 votes
Liam Green
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.
October 19, 2020

Hi @RakeshA 

Have you tried putting the / in " - e.g.:

project = SAPMS AND status = Resolved AND fixVersion = V29.1 AND "SF#[Paragraph]" ~ "/" order by created DESC
RakeshA October 19, 2020

Yes I tried but no luck

Liam Green
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.
October 19, 2020

Do you get an error message, or does it simply return no results?

RakeshA October 19, 2020

No Error message. It does not return any results

Liam Green
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.
October 19, 2020

I've just tried a simple example using one of our paragraph fields, and it returned no results when I used "/", so I don't think you can search on anything other than words.

RakeshA October 19, 2020

Is this a bug in JIRA?

Liam Green
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.
October 19, 2020

I'm not sure - it would be worth reaching out to Atlassian support to ask the question

Suggest an answer

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

Atlassian Community Events