Allow for 3rd party linking via API
Adam Simmons
We can now link results and runs to 3rd party issue trackers, however this is not possible via API.
GET
https://app.qase.io/apps/api/{external_name}/issues/search?query={external_issue}
This call to get the possible external issue details, specifically it's ID
POST
url = "https://app.qase.io/v1/run/{project}/external-issue/{run_id}"
payload = {"external_issue":{"external_id":{external_id}","slug":"{external_name}","display_name":"{display_name}","link":"{link}"}}
However the response is:
GET
{'error': 'Unauthenticated.'}
POST
{'message': 'CSRF token mismatch.'}
I wanted to be able to link several runs to a single external issue tracker issue however I'm unable to do so with the current state of the API. I now need to manually link each run to the external issue. Not terrible but not great either.