I am using the below python code to move an issue to scrum board 1558 but getting response 405. Can you please let me know what's wrong with the below code,
url = "https://jira.company.com/rest/agile/1.0/board/1558/issue"
myHeaders = urllib3.util.make_headers(basic_auth='ID:PW')
payload = json.dumps( {
"issues": [
def_num
]})
response = requests.request(
"POST",
url,
data=payload,
headers=myHeaders
)
print(response)