Bug 872422 - RFE: expose flag creation via XMLRPC
Summary: RFE: expose flag creation via XMLRPC
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Bugzilla
Classification: Community
Component: WebService
Version: 4.2
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 4.4-3
Assignee: Matt Tyson 🤬
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-02 03:24 UTC by Jeff Fearn 🐞
Modified: 2018-12-09 06:29 UTC (History)
3 users (show)

Fixed In Version: 4.4-3
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-20 11:05:26 UTC
Embargoed:


Attachments (Terms of Use)

Description Jeff Fearn 🐞 2012-11-02 03:24:03 UTC
Description of problem:
Flag creation is not exposed via XML-RPC making it impossible to automate this task via Maitai.

Version-Release number of selected component (if applicable):
current

How reproducible:
always

Steps to Reproduce:
1. There is no step 1

Actual results:
Go to admin interface, admin flags.

Expected results:
Go to Maitai interface, click buttons, magic happens, BZ devs do not have to talk to users!

Additional info:
The end game here is to have an approved method of automating flag creation and maintenance in Maitai so that devs don't have to do it.

Comment 3 Matt Tyson 🤬 2012-12-06 00:56:03 UTC
I've added an interface allowing new flags to be created.

The new method will be FlagType.create

Documentation has been added in POD format which should give anyone sufficient information to create an xmlrpc call to add new flags (If they have permissions to do so)

Comment 6 Matt Tyson 🤬 2013-02-11 00:48:52 UTC
The documentation was incorrect.

It said the field was 'category', the name for this field is actually 'inclusions'

There is also a field called 'exclusions' which will exclude the flag from the specified products or components.  I have updated the documentation to show this.


Note You need to log in before you can comment on or make changes to this bug.