Closed patrickmarchitto closed 6 years ago
From memory it could be the way the JIRA plugin handles churn (if an issue is included in many failing tests, it only updates it once to avoid network traffic - the JIRA API is very slow). Your best bet would be to look at the code in the plugin (it's quite a small module) and seeing if you need to tweak something to make it work better for your use case.
We found a way to get this working. We are using the fork option of Surefire to execute our tests in parallel and with the cucumber-jvm-parallel-plugin every feature file gets its own TestRunner. This way, all issues for each feature gets updated correctly. I could not find the cause of our primal problem in the code but thank you for you answer. This issue can be closed from my side.
Hi, I got the same issue, which is only updating the last Jira issue when executing multiple feature files. Can someone please help share a bit more on the handling? Thanks.
When running multiple Cucumber feature files with CucumberWithSerenity and maven clean verify only the feature which was executed lastly is updated with comment and transition. At the beginning of the log files I can see for each feature:
After each test has been executed the log file says
which are the transisition specified in my workflow.groovy file. But only for the last feature I can see:
The status of XXX-123 is changed correctly and the comment also works. All requirements are loaded and linked correctly in the generated report, so I don't know why auto-workflow and comment is not working for all other features. If other information is needed, please let me know.