Forums

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

JQL to find URL in the description

Maksim Beliaev
Contributor
December 4, 2023

Hello,

we face an issue that certain URLs cannot be found by JQL.

For instance, I can easily search and find URLs using:

`text ~ "https://github.com/beliaev-maksim/test-ci/issues/69"`

 

but then when we do search using the same mechanism but for a different URL, JQL returns None

`text ~"https://github.com/canonical/testflinger/issues/29"`

 

although it works if we break it into parts:

text ~ "https://github.com/canonical" and text ~ "testflinger" and text ~ "issues/29"

 

 

1 answer

1 accepted

1 vote
Answer accepted
Maksim Beliaev
Contributor
January 2, 2024

The solution is to employ an exact search string, allowing for a precise search for the given URL. This approach serves as a workaround for the issue.


text ~ "\"https://github.com/canonical/testflinger/issues/29\""

Suggest an answer

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

Atlassian Community Events