[6.15.z] Add support for reporting/commenting test results to the Jira issue #15272
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Cherrypick of PR: #15104
What does this do?
Verifies
orBlockedBy
doc fields.Primary use case
Verifies
orBlockedBy
doc field to the test, mapping it to a Jira RFE/Bug. For example,:Verifies: SAT-25230
or:BlockedBy: SAT-24796
.BlockedBy
, the test will be collected only if the corresponding Jira issue is in theReview
(ON_QA) state. This behavior can be overridden by using the--blocked-by SAT-25230
option.ENABLE_COMMENT
totrue
in thejira.yaml
configuration file.--jira-comments
pytest option.Note:
issue_status
injira.conf
.PRT example
Assuming the test has a
Verifies
orBlockedBy
doc field set and you want to comment on issues in "New" or "In Progress" state.Related Issues