You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I ran into this very issue. The problem is that post_item_attachment wil try to attach the attachment here: <jama_URL>/items/<id>/attachement
while the test runs (at least for me) is here: <jama_URL>/testruns/<id>/attachement
I would suggest adding a new function "post_testrun_attachment" to the jama client which will do exactly the same as post_item_attachment but aim at the testruns path instead.
Workaround could include adding an argument to post_item_attachment with a bool "test_run = False", and then an if statement selecting the appropriate path.
That is not ideal for my situation since patching the jama client will mean that i need it patch on any work station that will run our test frameworks.
Other workaround (which I have yet to test) would be to create a post_testrun_attachment in my normal test framework and not use the jama client.
Describe the bug
Currently adding the attachments based on items didn't work for the test runs.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Attachment should be uploaded to the corresponding test run.
Desktop (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: