rhevm-qe-automation / pytest_jira

py.test plugin to integrate with JIRA
GNU General Public License v2.0
29 stars 25 forks source link

add option to return jira issue metadata #108

Closed gs202 closed 5 years ago

gs202 commented 5 years ago

Adding option to return Jira issue model (with metadata) instead of boolean result (--jira-return-metadata) issue #94 The issue type that will be returned is JiraIssue model using marshmallow (as pydantic is backport for python 3.6), with currently the MVP fields (and can be easily expanded).

Using jira (https://pypi.org/project/jira/) will require changing the connection method, also the returned fields (metadata) has nothing more than when using request call - so i thought it will not add any value.

codecov-io commented 5 years ago

Codecov Report

Merging #108 into master will increase coverage by 0.18%. The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #108      +/-   ##
==========================================
+ Coverage   95.08%   95.27%   +0.18%     
==========================================
  Files           1        1              
  Lines         224      233       +9     
==========================================
+ Hits          213      222       +9     
  Misses         11       11
Impacted Files Coverage Δ
pytest_jira.py 95.27% <100%> (+0.18%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 8123759...2879690. Read the comment docs.