It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to find a Jira issue by a keyword in Summary field using rest api? Thanks

I have an issue in Jira. Summary of that issue is "Jira testing". I want to search based on the 'Jira' word and then want to get ID of that issue. I tried with Get in servicenow->rest message

..../rest/api/3/issues/?jql=summary ~"Jira*"

but its showing as invalid query HTTP status 0. Also tried

.../rest/api/3/issues/?jql=summary ~Jira*

1 answer

1 accepted

0 votes
Answer accepted

Hi @Jit_Sarkar 

 

I think you must use something like this: jql=summary%20~%20"JIRA-*" because errors are from spaces that are not code properly.

 TIP: to check how JQL query should look in REST API request use your browser. Write JQL query in JIRA GUI. After clicking Search button url will change and convert to version that you can use in REST API request.

 

Regards,

Seba

Hi Sebastian,

Thanks for your quick response. In Jira its coming as below

jql=summary%20~%20%22Jira*%22

I tried with that but now its coming as 404 error.

Sorry, I used rest/api/3/issues instead of rest/api/3/search. Its working now. Thank you so much

Like Sebastian_Krzewiński likes this

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
Community showcase
Published in Jira Software

How to create Jira issus from Excel file?

When to use CSV importer When managing your processes in Jira, there are many occasions where you need to create a lot of tasks. Creating them one by one will cost you a lot of time and effort and i...

760 views 9 9
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you