Skip to content

cli: Add --field-json=JSONSTRING#200

Merged
crobinso merged 1 commit into
python-bugzilla:mainfrom
crobinso:field-json
Feb 13, 2024
Merged

cli: Add --field-json=JSONSTRING#200
crobinso merged 1 commit into
python-bugzilla:mainfrom
crobinso:field-json

Conversation

@crobinso
Copy link
Copy Markdown
Member

@crobinso crobinso commented Feb 5, 2024

This is similar to the --field option for interacting with custom bugzilla fields, but it takes a full JSON string as input. This lets users set complex values like arrays, dict mappings, that otherwise were not settable with plain --field

Fixes: #163

@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (41f3570) 100.00% compared to head (a733251) 100.00%.

Additional details and impacted files
@@            Coverage Diff            @@
##              main      #200   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           12        12           
  Lines         2192      2200    +8     
=========================================
+ Hits          2192      2200    +8     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

This is similar to the `--field` option for interacting with
custom bugzilla fields, but it takes a full JSON string as input.
This lets users set complex values like arrays, dict mappings, that
otherwise were not settable with plain `--field`

Fixes: python-bugzilla#163

Signed-off-by: Cole Robinson <[email protected]>
@crobinso crobinso merged commit f95ff31 into python-bugzilla:main Feb 13, 2024
@crobinso crobinso deleted the field-json branch February 13, 2024 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RFE: add --field-json JSONSTRING for complex custom fields

1 participant