Open Bug 1589127 Opened 5 years ago Updated 1 month ago

BugzillaViewSet.create should return the BZ url to the new bug

Categories

(Tree Management :: Treeherder: API, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

People

(Reporter: camd, Unassigned)

Details

Attachments

(1 obsolete file)

In the production case, it would always be the same host: bugzilla.mozilla.org.

But on stage, we don't want people testing creating new bugs against b.m.o. So we set it to: bugzilla-dev.allizom.org. This works great, but the UI doesn't know it, so it has all its links pointed to b.m.o. because that's hard-coded in a constant in the JS.

If we return the URL to the new bug in the create function (or even just the domain used to create it), then the UI could match that domain to show the user the new bug.

Attachment #9386630 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: