interactions:
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=3&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_runtime_testing_required&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"depends_on":[7],"last_change_time":"2020-11-26T09:42:55Z","product":"Gentoo
        Linux","id":3,"cc_detail":[{"real_name":"AMD64 arch team","name":"amd64@gentoo.org","id":4,"email":"amd64@gentoo.org"}],"keywords":["STABLEREQ"],"cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","assigned_to":"bug-wranglers@gentoo.org","blocks":[],"component":"Stabilization","whiteboard":"","cf_runtime_testing_required":"Manual","cc":["amd64@gentoo.org"],"resolution":"","flags":[{"type_id":1,"creation_date":"2020-04-03T13:35:02Z","setter":"nattka@gentoo.org","id":3,"modification_date":"2020-04-03T13:35:02Z","name":"sanity-check","status":"-"}],"assigned_to_detail":{"real_name":"Bug
        wranglers","name":"bug-wranglers@gentoo.org","email":"bug-wranglers@gentoo.org","id":6}}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:45 GMT
      Etag:
      - CTH/22bE/Jv3FPxgv6ie4Q
      Keep-Alive:
      - timeout=15, max=100
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/3/comment
  response:
    body:
      string: '{"comments":{},"bugs":{"3":{"comments":[{"tags":[],"attachment_id":null,"creation_time":"2020-04-03T13:19:04Z","text":"","bug_id":3,"time":"2020-04-03T13:19:04Z","count":0,"id":3,"is_private":false,"creator":"test@example.com"},{"creation_time":"2020-04-03T13:35:02Z","tags":["obsolete"],"attachment_id":null,"id":8,"is_private":false,"creator":"nattka@gentoo.org","text":"sanity
        check failed!","bug_id":3,"time":"2020-04-03T13:35:02Z","count":1},{"bug_id":3,"text":"sanity
        check failed!","count":2,"time":"2020-04-03T13:35:33Z","is_private":false,"id":9,"creator":"nattka@gentoo.org","tags":["obsolete"],"attachment_id":null,"creation_time":"2020-04-03T13:35:33Z"},{"text":"sanity
        check failed!","bug_id":3,"time":"2020-04-03T13:37:04Z","count":3,"id":10,"is_private":false,"creator":"nattka@gentoo.org","tags":["obsolete"],"attachment_id":null,"creation_time":"2020-04-03T13:37:04Z"},{"bug_id":3,"text":"sanity
        check failed!","time":"2020-04-03T13:38:16Z","count":4,"id":11,"is_private":false,"creator":"nattka@gentoo.org","tags":["obsolete"],"attachment_id":null,"creation_time":"2020-04-03T13:38:16Z"}]}}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:45 GMT
      Etag:
      - F6bNAE/hBWuAL4tCRQerjA
      Keep-Alive:
      - timeout=15, max=99
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: '{"ids": [3], "cc": {"remove": ["hppa@gentoo.org"]}, "comment": {"body":
      "whut?!"}, "status": "IN_PROGRESS"}'
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      Content-Length:
      - '107'
      Content-Type:
      - application/json
      User-Agent:
      - python-requests/2.28.1
    method: PUT
    uri: http://127.0.0.1:33113/rest/bug/3
  response:
    body:
      string: '{"bugs":[{"alias":[],"changes":{"status":{"removed":"CONFIRMED","added":"IN_PROGRESS"}},"id":3,"last_change_time":"2022-09-06T19:46:46Z"}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:46 GMT
      Etag:
      - RIpv46sjc3M6QHRdSFfd+Q
      Keep-Alive:
      - timeout=15, max=98
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug?id=3&include_fields=assigned_to&include_fields=blocks&include_fields=cc&include_fields=cf_runtime_testing_required&include_fields=cf_stabilisation_atoms&include_fields=component&include_fields=depends_on&include_fields=flags&include_fields=id&include_fields=keywords&include_fields=last_change_time&include_fields=product&include_fields=resolution&include_fields=whiteboard
  response:
    body:
      string: '{"bugs":[{"cc_detail":[{"email":"amd64@gentoo.org","id":4,"name":"amd64@gentoo.org","real_name":"AMD64
        arch team"}],"cf_runtime_testing_required":"Manual","resolution":"","whiteboard":"","assigned_to":"bug-wranglers@gentoo.org","cf_stabilisation_atoms":"dev-python/mako-1.1.0
        amd64","cc":["amd64@gentoo.org"],"product":"Gentoo Linux","component":"Stabilization","assigned_to_detail":{"real_name":"Bug
        wranglers","name":"bug-wranglers@gentoo.org","id":6,"email":"bug-wranglers@gentoo.org"},"id":3,"keywords":["STABLEREQ"],"flags":[{"creation_date":"2020-04-03T13:35:02Z","id":3,"name":"sanity-check","setter":"nattka@gentoo.org","modification_date":"2020-04-03T13:35:02Z","type_id":1,"status":"-"}],"last_change_time":"2022-09-06T19:46:46Z","blocks":[],"depends_on":[7]}]}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:46 GMT
      Etag:
      - FurjfS0GI1al5y4ecA7/5g
      Keep-Alive:
      - timeout=15, max=97
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
- request:
    body: null
    headers:
      Accept:
      - '*/*'
      Accept-Encoding:
      - gzip, deflate
      Connection:
      - keep-alive
      User-Agent:
      - python-requests/2.28.1
    method: GET
    uri: http://127.0.0.1:33113/rest/bug/3/comment
  response:
    body:
      string: '{"bugs":{"3":{"comments":[{"count":0,"creator":"test@example.com","text":"","is_private":false,"creation_time":"2020-04-03T13:19:04Z","id":3,"time":"2020-04-03T13:19:04Z","tags":[],"bug_id":3,"attachment_id":null},{"bug_id":3,"attachment_id":null,"is_private":false,"creation_time":"2020-04-03T13:35:02Z","id":8,"time":"2020-04-03T13:35:02Z","tags":["obsolete"],"text":"sanity
        check failed!","creator":"nattka@gentoo.org","count":1},{"text":"sanity check
        failed!","is_private":false,"creation_time":"2020-04-03T13:35:33Z","id":9,"time":"2020-04-03T13:35:33Z","tags":["obsolete"],"bug_id":3,"attachment_id":null,"count":2,"creator":"nattka@gentoo.org"},{"text":"sanity
        check failed!","id":10,"tags":["obsolete"],"time":"2020-04-03T13:37:04Z","creation_time":"2020-04-03T13:37:04Z","is_private":false,"attachment_id":null,"bug_id":3,"count":3,"creator":"nattka@gentoo.org"},{"is_private":false,"creation_time":"2020-04-03T13:38:16Z","time":"2020-04-03T13:38:16Z","tags":["obsolete"],"id":11,"text":"sanity
        check failed!","bug_id":3,"attachment_id":null,"creator":"nattka@gentoo.org","count":4},{"tags":[],"time":"2022-09-06T19:46:46Z","id":16,"is_private":false,"creation_time":"2022-09-06T19:46:46Z","text":"whut?!","attachment_id":null,"bug_id":3,"creator":"test@example.com","count":5}]}},"comments":{}}'
    headers:
      Access-control-allow-headers:
      - origin, content-type, accept, x-requested-with
      Access-control-allow-origin:
      - '*'
      Connection:
      - Keep-Alive
      Content-Type:
      - application/json; charset=UTF-8
      Content-security-policy:
      - frame-ancestors 'self'
      Date:
      - Tue, 06 Sep 2022 19:46:47 GMT
      Etag:
      - NcDvBoqSMKSZxpkjZBMhfQ
      Keep-Alive:
      - timeout=15, max=96
      Server:
      - Apache
      Transfer-Encoding:
      - chunked
      X-content-type-options:
      - nosniff
      X-frame-options:
      - SAMEORIGIN
      X-xss-protection:
      - 1; mode=block
    status:
      code: 200
      message: OK
version: 1
