Hi There,
I am trying to fetch all the issue keys of a specific project using JIRA python api and below is the code. For example, Can i please know how to fetch the issue keys with a specific label called "server".
url = "https://abcd.com/rest/api/2/search?maxResults=4"
auth = HTTPBasicAuth("cred, "password)
headers={
"Accept": "application/json",
"Content-Type": "application/json"
}
query = {
'jql': 'project = APACHE'
}
projectIssues = []
response=requests.get(url,headers=headers,params=query,auth=auth)
data=response.json()
issues=data["issues"]
for issue in issues:
projectIssues.append(issue["key"])
Thank you