1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Anuncie Aqui
    Anuncie aqui você Também: fdantas@4each.com.br

[Python] Exporting tests from a testset with xray api

Discussão em 'Python' iniciado por Stack, Setembro 17, 2025.

  1. Stack

    Stack Membro Participativo

    For my testautomation project I need to create a pipeline that in one of its steps exports all test cases (cucumber) from a test set in Jira, using xray api. It is triggered from a python script, so all code is written in python. I have tried things like:

    response = requests.get(
    f"{jira_url}/rest/raven/1.0/export/test?jql=issue in testSetTests(\"PRO-123\")",
    headers={'Authorization': f'Basic {auth_value}'}
    )


    but allways get a generic error message that says the export could not be performed. I know I could create filters (already have some filter, it works), but to keep my test cases organized, I'd prefer the usage of testsets.

    Continue reading...

Compartilhe esta Página