Contributions
Re: How to attach a file to the case step result?
I resolved the question. BaseUrl/rest/zapi/latest/attachment?entityId=664272&entityType=TESTSTEP&projectId=19800 session = requests.session() headers = { "Authorization": "Basic *****", "X-Atlassian-Token": "no-check" } response = session.post(url, headers=headers, files={ "file": ("expect.jpg", open("expect.jpg", "rb"), "image/jpeg") })639Views0likes0Comments