Skip to content

Commit fc3d938

Browse files
authored
Start (naive) troubleshooting section in README (#156)
* Start (naive) troubleshooting section in README * Add Log Explorer queries examples * Are not * Rephrase as instructions
1 parent 1cc6225 commit fc3d938

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,60 @@ GET /whiteboard_tags/
219219
}
220220
```
221221

222+
## Troubleshooting
223+
224+
### Bugzilla tickets are not showing up as issues on Jira
225+
226+
As a consumer, you can:
227+
228+
- Open https://jbi.services.mozilla.com/powered_by_jbi/ and check that your project is listed and enabled there
229+
- Open https://jbi.services.mozilla.com/__heartbeat__ and make sure everything is `true`
230+
231+
If you have access to the configured Bugzilla account:
232+
233+
- Open https://bugzilla.mozilla.org/userprefs.cgi?tab=webhooks
234+
- Check that Webhook is still **enabled**
235+
- Check that WebHook is setup to be executed for your product
236+
- (*if applies*) Check that account can read the private bugs
237+
238+
### Log Explorer Queries Examples
239+
240+
* All incoming WebHooks:
241+
242+
```
243+
jsonPayload.Type="request.summary"
244+
jsonPayload.Fields.path="/bugzilla_webhook"
245+
```
246+
247+
* All action log entries:
248+
249+
```
250+
jsonPayload.Type!="request.summary" AND
251+
(
252+
NOT jsonPayload.Fields.operation:* --Entries without `operation` field
253+
OR (jsonPayload.Fields.operation!="handle" AND jsonPayload.Fields.operation!="ignore")
254+
)
255+
```
256+
257+
* For bugs whose whiteboard contains a certain string:
258+
259+
```
260+
jsonPayload.Fields.bug.whiteboard=~"flowstate"
261+
```
262+
263+
* For a certain Bug number:
264+
265+
```
266+
jsonPayload.Fields.bug.id=1780798
267+
```
268+
269+
* For a certain Jira project:
270+
271+
```
272+
jsonPayload.Fields.action.parameters.jira_project_key="MR"
273+
```
274+
275+
222276
## Metrics
223277
224278
The following metrics are sent via StatsD:

0 commit comments

Comments
 (0)