Forums

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

Jira API search by comment

michal.moshe July 1, 2020

Hi, 

Is there any way to search issues by comment?

For exmple :  get all issue that include in comment the text "this is test".

1 answer

0 votes
Trudy Claspill
Community Champion
July 1, 2020

@michal.moshe 

Welcome to the community.

Yes the JIRA Cloud Rest API provides a method to search for issues using a JQL statement.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/#api-group-Issue-search

And you can execute a search for issues where there is a comment containing specific text with the JQL criteria:

comment~"text to find"
michal.moshe July 6, 2020

can you please show me example? 

Trudy Claspill
Community Champion
August 21, 2020

There are examples in the linked document.

Suggest an answer

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

Atlassian Community Events