The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Search an issue by a word in the summary : Python + JIRA library

Sunesh M S
August 17, 2018

Hi All,

I am using Python with JIRA library.

Suppose, I have some issues related to chatbot.  so how can I list out all issues related to chatbot.  The output should be 3 issues (see below example) even there is so many issues.

Example :

Summary 1 : Chatbot env setup.

Summary 2 : configured the chatbot in XX.XX.XX.XX server

Summary 3 : Integration testing for chatbot in stage evn. 

 

Thanks in Advances,

Maadi

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Mauricio Karas
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 20, 2018

Hey, Maadi.

You could use the following REST API call:

GET /rest/api/2/search?jql=summary~"chatbot"

This gets the result issues from the JQL using the query string parameter.

As for Python, if you're using the jira-python library, you can use the following method:

issues_in_proj = jira.search_issues('project=PROJ')

Keep in mind that Jira has pagination and it will return a maximum of 50 issues in the result object. You can change the max using the "maxResults" parameter.

Kind regards,
Maurício Karas