fabric8-services / fabric8-wit

wit stands for Work Item Tracker
http://devdoc.almighty.io/
Apache License 2.0
45 stars 86 forks source link

Add 'None' as default resolution for defect #2334

Closed kwk closed 5 years ago

kwk commented 5 years ago

Add None to a Defect's resolution in the Agile space template and make it the default resolution by putting it in first place.

See https://github.com/openshiftio/openshift.io/issues/3832

codecov[bot] commented 5 years ago

Codecov Report

Merging #2334 into master will decrease coverage by 0.07%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2334      +/-   ##
==========================================
- Coverage   70.18%   70.11%   -0.08%     
==========================================
  Files         171      171              
  Lines       16625    16625              
==========================================
- Hits        11669    11656      -13     
- Misses       3828     3838      +10     
- Partials     1128     1131       +3
Impacted Files Coverage Δ
remoteworkitem/jira.go 75% <0%> (-25%) :arrow_down:
remoteworkitem/scheduler.go 53.65% <0%> (-7.32%) :arrow_down:
controller/workitem.go 81.18% <0%> (-0.56%) :arrow_down:
workitem/workitem_repository.go 67.79% <0%> (-0.23%) :arrow_down:

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 44739f8...a0c4ae7. Read the comment docs.

kwk commented 5 years ago

Deployment to prod-preview failed&_a=(columns:!(kubernetes.container_name,message),index:'project.dsaas-preview.6e520a9f-d097-11e8-9fb7-121499db9246.*',interval:auto,query:(query_string:(analyze_wildcard:!t,query:'kubernetes.pod_name:%22core-16-ftjwd%22+AND+kubernetes.namespace_name:%22dsaas-preview%22')),sort:!('@timestamp',desc)) ) with:

failed to overwrite default of old field type with None (string):
failed to set default value of enum type to None (string):
value:
None (string) is not part of allowed enum values:
[Done Duplicate Incomplete Description Can not Reproduce Deferred Won't Fix Out of Date Verified]
file: spacetemplate/importer/repository.go
91
msg: failed to create or update work item types

Looking into it.