Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MEFE API - Disable a property/unit #873

Open
franck-boullier opened this issue Sep 4, 2019 · 0 comments
Open

MEFE API - Disable a property/unit #873

franck-boullier opened this issue Sep 4, 2019 · 0 comments
Labels
API All issues and features related to APIs Feature A feature request or description production This is an issue that affects the production environment.

Comments

@franck-boullier
Copy link
Member

Requirement:

We should be able to make a unit inactive/disable a unit.

How it's done in the BZ database:

The information is stored in the table products in the field isactive.
If isactive = 1 (the default value) the unit is active.
If isactive = 0 (the default value) the unit is inactive/obsolete and it's NOT possible to create new cases/bugs for this unit.

How it can be done with the BZ API:

BZ has a native REST API that we can use.
See the documentation on the product update API for more details.

The relevant parameter is:
is_open | boolean | true if the product is currently allowing bugs to be entered into it, false otherwise.

What we need:

Whether a property is active or not is a piece of information that we need to store in the MEFE <--- the source of truth for all information related to properties/units.

@nbiton How can this be done?

We also need to have a MEFE API that we can use to enable or disable a property in Unee-T

This issue tracks our progress to implement that API.

@franck-boullier franck-boullier added Feature A feature request or description production This is an issue that affects the production environment. API All issues and features related to APIs labels Sep 4, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API All issues and features related to APIs Feature A feature request or description production This is an issue that affects the production environment.
Projects
None yet
Development

No branches or pull requests

1 participant