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*
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, I used rest/api/3/issues instead of rest/api/3/search. Its working now. Thank you so much
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.