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

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,327 views 14 20
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot