Hi ,
I run the below query which gives me all the issues which are in Development state for a given user . How do I save this in a python dictionary .
curl -D- -u user:pwd -X POST -H "Content-Type: application/json" --data '{"jql": "assignee in (uszsyj1) AND status = \"In Development\" ","startAt": 0,"fields": [ "id","key"]}' "http://myurl/rest/api/2/search"
Thanks
Sandeep
Same question as https://community.atlassian.com/t5/Questions/JQL-query-to-combine-status-and-assignee-in-search-condition/qaq-p/578341
Hi Nic ,
That link points to my previous question , I was able to figure it out , but for me the next step is to save the output in a python dictionary . This is what I am doing :
import urllib
import json
import requests
query = 'assignee = uszsyj1 AND status = \"In Development\"","startAt": 0,"fields": [ "id","key"]'jql = '/rest/api/2/search?jql=%s' % urllib.quote(query)
serverURL ='http://zmyurl/rest/api/2/search'
response = requests.put(serverurl +jql ,verify=false,auth=('uszsyj1','******'))
when i do response.status_code
i get 404
It looks like you're new here. Sign in or register to get started.