jenkinsci / allure-plugin

Allure Jenkins Plugin
https://plugins.jenkins.io/allure-jenkins-plugin/
Other
85 stars 66 forks source link

[Feature Request] Add possibility to display linked test case issue on "Categories" page #208

Open yurikvol opened 6 years ago

yurikvol commented 6 years ago

Issue [Feature Request]

Add possibility to choose whether to display assigned test case issue or traceback in generated allure report on "Categories page"

Context

Feature description

Allure report has "Categories" page which currently displays traceback for failed test cases. However also some test case could have linked Jira issue. During Allure plugin configuration via Jenkins would be nice to have possibility to choose whether to display test case traceback or linked test case issue if such exists. Maybe adding some drop down menu with cases would be helpful.

Linked issue is stored in "allure-report/data/test-cases/*.json" files.

Temporally we can get linked issue from "allure-report/data/test-cases/*.json" files and update "allure-report/data/categories.json" file for the specified test case. As result we will get issue link instead of test case traceback.

Logs & Traces

Example of displaying linked test case issue instead of test case traceback: categories