Open Bug 1837998 Opened 1 year ago Updated 3 months ago

File regression bugs using the API

Categories

(Tree Management :: Perfherder, enhancement, P2)

enhancement

Tracking

(Not tracked)

People

(Reporter: alexandrui, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

If the culprit is known and not confidential, allow the sheriffs to file and link a regression bug with a single click. Using the Bugzilla API we can query the culprit bug, and use this to file a new bug also via the API. We can then use the new bug ID to link to the alert.

Currently, filing a bug with a known culprit id opens a create new bug screen.

As implementation detail, currently the code is opening a new tab create new bug screen with the given params. We’ll have to use a different way of filing a bug as we need to get the id of the new bug created.

We neeed to create a react wrapper over Bugzilla:REST_API, with create, get and update functions. There’s BugFiler.jsx - a comprehensive example about how to use API to file a bug and is a good example code for how to handle different exception cases.

We need to be able to file regression bug after inputting the regressor in the file bug modal.

  1. The code should be able to file the regression with the details in the given bug ID and open it in a new tab.
  2. If not provided a bug ID, the code should create a new generic regression bug and open it in a new tab.
  3. If the given bug ID is not visible due to security issues, then file a generic regression bug.

The code should be tested on prototype and have unit tests.

See Also: → 1889147
Type: task → enhancement
Duplicate of this bug: 1889147
You need to log in before you can comment on or make changes to this bug.