url = "https://xxxx.atlassian.net/rest/api/3/search"
auth = HTTPBasicAuth("xxxxxxx", "yyyyyyyyyyy")
headers = {
"Accept": "application/json"
}
query = {
'jql': 'project = ABCD AND issuetype in (StandardIssueTypes(),Bug) AND status
in (Open,closed,"Ready for Deployment")'
}
response = requests.request(
"GET",
url,
headers=headers,
#params=query,
auth=auth
)
resdata = json.dumps(json.loads(response.text))
if response.status_code != 200:
print('Status:', response.status_code, 'Headers:', response.headers,
'Error Response:', response.json())
exit()
else:
print('Server Connected.Please wait.....')
Remove it and see what happens!
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.