Hi,
I'm trying to import my cucumber results to an existing JIRA issue like this:
curl -H "Content-Type: application/json" -X POST -H "Authorization: Bearer $token" --data @cucumber-json-report-portal.json "$BASE_URL/api/v2/import/execution/cucumber?projectKey=NETAAA&testExecKey=NETAAA-94943"
It always creates a new JIRA issue.
How can I send my testExecKey?
Thank you
I haven't needed to do this, but this question came up back in 2020:
The solution I have found to work has been adding the test execution's key (prefixed by an @ sign) to the top of my feature file prior to running the test. This adds a tag to your test result that will allow you to use curl to update the test execution.
Thanks,
It worked with Jim Knepley suggestion.
It's not a smooth way to do it (but works), since after generate the JSON results, we've to change all the "tags" to add the JIRA issue name on that array.
It looks like you're new here. Sign in or register to get started.