Question on search in comments

Hi,

I have some comments added by subversion commits.

Here is an example of such a commit :

Committed in DEMO 2.50.01-120255 by gelu

I want to retrieve all issues that contains "Committed in DEMO 2.5".

If I run this query :

comment ~ "Committed in DEMO 2.5*"

I get some issues that doesn't contain the string I'm searching on (such as Committed in PRJ 2.5.01-123456"

I tried with exact search : comment ~ "\"Committed in DEMO 2.5\"" but no issues are retrieved.

I tried to set the indexing language to Other instead of english, but "Committed in DEMO 2.5*" returns no issues.

Is there a way to run such queries?

Thanks for your help

Stéphane

3 answers

1 accepted

Accepted Answer
0 votes

I found this solution :

comment ~ "\"Committed in GST\" 2.5*"

In my situation, it's ok.

a bit dirty syntax! ;-)

Hi Genin,

In search comment it will find issues contains the exact phrase. So give exact word to find. Find more details on search comment https://confluence.atlassian.com/display/JIRA/Advanced+Searching#AdvancedSearching-Comments

Thanks,

Patina

Subversion ALM supports searching on Subversion commit messages directly, you might try it and see whether it returns the expected issues...

issue in svnComment("Committed in DEMO 2.5")

It should work if the commit message on Subversion is "Commited in DEMO 2.5". Otherwise Subversion ALM provides enough built-in JQL functions to find any issue by using any Subversion attribute (everything is indexed: commit numbers, files and directories, comments, dates, etc)

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 25, 2018 in Jira

Atlassian Research Workshop opportunity on Sep. 28th in Austin, TX

We're looking for participants for a workshop at Atlassian! We need Jira admins who have interesting custom workflows, issue views, or boards. Think you have a story to sha...

433 views 7 5
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you