{
 "issue": {
  "id": 145,
  "iid": 2,
  "project_id": 172,
  "title": "First and Last Tweet define time period",
  "description": "the functions getStartDate and getLastDate just take the first and last element of the array. Thats not neccesarry the first and last event of the event series.",
  "state": "closed",
  "created_at": "2020-04-01T21:02:47.622Z",
  "updated_at": "2020-08-13T04:50:45.701Z",
  "closed_at": "2020-08-13T04:50:45.654Z",
  "closed_by": {
   "id": 3,
   "username": "tvluke",
   "public_email": "",
   "name": "Lukas Ruge",
   "state": "active",
   "locked": false,
   "avatar_url": "https://git.chaotikum.org/uploads/-/system/user/avatar/3/avatar.png",
   "web_url": "https://git.chaotikum.org/tvluke"
  },
  "labels": [],
  "milestone": {
   "id": 6,
   "iid": 1,
   "project_id": 172,
   "title": "Version 1.0",
   "description": "",
   "state": "active",
   "created_at": "2020-03-23T07:14:26.440Z",
   "updated_at": "2020-03-23T07:14:26.440Z",
   "due_date": null,
   "start_date": null,
   "expired": false,
   "web_url": "https://git.chaotikum.org/twistory/twistory-bot/-/milestones/1"
  },
  "assignees": [
   {
    "id": 3,
    "username": "tvluke",
    "public_email": "",
    "name": "Lukas Ruge",
    "state": "active",
    "locked": false,
    "avatar_url": "https://git.chaotikum.org/uploads/-/system/user/avatar/3/avatar.png",
    "web_url": "https://git.chaotikum.org/tvluke"
   }
  ],
  "author": {
   "id": 3,
   "username": "tvluke",
   "public_email": "",
   "name": "Lukas Ruge",
   "state": "active",
   "locked": false,
   "avatar_url": "https://git.chaotikum.org/uploads/-/system/user/avatar/3/avatar.png",
   "web_url": "https://git.chaotikum.org/tvluke"
  },
  "type": "ISSUE",
  "assignee": {
   "id": 3,
   "username": "tvluke",
   "public_email": "",
   "name": "Lukas Ruge",
   "state": "active",
   "locked": false,
   "avatar_url": "https://git.chaotikum.org/uploads/-/system/user/avatar/3/avatar.png",
   "web_url": "https://git.chaotikum.org/tvluke"
  },
  "user_notes_count": 0,
  "merge_requests_count": 0,
  "upvotes": 0,
  "downvotes": 0,
  "start_date": null,
  "due_date": null,
  "confidential": false,
  "discussion_locked": null,
  "issue_type": "issue",
  "web_url": "https://git.chaotikum.org/twistory/twistory-bot/-/work_items/2",
  "time_stats": {
   "time_estimate": 0,
   "total_time_spent": 0,
   "human_time_estimate": null,
   "human_total_time_spent": null
  },
  "task_completion_status": {
   "count": 0,
   "completed_count": 0
  },
  "has_tasks": true,
  "task_status": "0 of 0 checklist items completed",
  "_links": {
   "self": "https://git.chaotikum.org/api/v4/projects/172/issues/2",
   "notes": "https://git.chaotikum.org/api/v4/projects/172/issues/2/notes",
   "award_emoji": "https://git.chaotikum.org/api/v4/projects/172/issues/2/award_emoji",
   "project": "https://git.chaotikum.org/api/v4/projects/172",
   "closed_as_duplicate_of": null
  },
  "references": {
   "short": "#2",
   "relative": "#2",
   "full": "twistory/twistory-bot#2"
  },
  "severity": "UNKNOWN",
  "moved_to_id": null,
  "imported": false,
  "imported_from": "none",
  "service_desk_reply_to": null
 },
 "discussions": [
  {
   "id": "f19c285efe408bd72690622e64854c0afb2fda70",
   "reply_id": "f19c285efe408bd72690622e64854c0afb2fda70",
   "project_id": 172,
   "commit_id": null,
   "confidential": false,
   "diff_discussion": false,
   "expanded": true,
   "for_commit": false,
   "individual_note": true,
   "resolvable": false,
   "discussion_path": null,
   "resolved": false,
   "resolved_by_push": false,
   "resolved_by": null,
   "resolved_at": null,
   "resolve_path": "/twistory/twistory-bot/-/issues/2/discussions/f19c285efe408bd72690622e64854c0afb2fda70/resolve",
   "notes": [
    {
     "id": "287",
     "type": null,
     "author": {
      "id": 3,
      "username": "tvluke",
      "public_email": "",
      "name": "Lukas Ruge",
      "state": "active",
      "locked": false,
      "avatar_url": "https://git.chaotikum.org/uploads/-/system/user/avatar/3/avatar.png",
      "status_tooltip_html": null,
      "show_status": false,
      "availability": null,
      "path": "/tvluke",
      "bot": false,
      "user_type": "human"
     },
     "created_at": "2020-04-01T21:02:47.865Z",
     "updated_at": "2020-04-01T21:02:47.869Z",
     "system": true,
     "noteable_id": 145,
     "noteable_type": "Issue",
     "project_id": 172,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 2,
     "commands_changes": {},
     "external_author": null,
     "note": "changed milestone to %1",
     "note_html": "<p data-sourcepos=\"1:1-1:23\" dir=\"auto\">changed milestone to <a href=\"/twistory/twistory-bot/-/milestones/1\" data-reference-type=\"milestone\" data-original=\"%1\" data-link=\"false\" data-link-reference=\"false\" data-milestone=\"6\" data-project=\"172\" data-container=\"body\" data-placement=\"top\" title=\"\" class=\"gfm gfm-milestone has-tooltip\">%Version 1.0</a></p>",
     "body_first_line_html": "<p>changed milestone to %Version 1.0</p>",
     "current_user": {
      "can_edit": false,
      "can_award_emoji": false,
      "can_resolve": false,
      "can_resolve_discussion": false
     },
     "suggestions": [],
     "resolved": false,
     "resolved_by": null,
     "resolved_by_push": false,
     "system_note_icon_name": "milestone",
     "is_noteable_author": true,
     "discussion_id": "f19c285efe408bd72690622e64854c0afb2fda70",
     "emoji_awardable": false,
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": "https://git.chaotikum.org/twistory/twistory-bot/-/work_items/2#note_287",
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "twistory-bot",
     "path": "/twistory/twistory-bot/notes/287"
    }
   ]
  },
  {
   "id": "959b18dccf7032c22a31dcaa23dad02869b667c0",
   "reply_id": "959b18dccf7032c22a31dcaa23dad02869b667c0",
   "project_id": 172,
   "commit_id": null,
   "confidential": false,
   "diff_discussion": false,
   "expanded": true,
   "for_commit": false,
   "individual_note": true,
   "resolvable": false,
   "discussion_path": null,
   "resolved": false,
   "resolved_by_push": false,
   "resolved_by": null,
   "resolved_at": null,
   "resolve_path": "/twistory/twistory-bot/-/issues/2/discussions/959b18dccf7032c22a31dcaa23dad02869b667c0/resolve",
   "notes": [
    {
     "id": "347",
     "type": null,
     "author": {
      "id": 3,
      "username": "tvluke",
      "public_email": "",
      "name": "Lukas Ruge",
      "state": "active",
      "locked": false,
      "avatar_url": "https://git.chaotikum.org/uploads/-/system/user/avatar/3/avatar.png",
      "status_tooltip_html": null,
      "show_status": false,
      "availability": null,
      "path": "/tvluke",
      "bot": false,
      "user_type": "human"
     },
     "created_at": "2020-08-13T04:50:45.773Z",
     "updated_at": "2020-08-13T04:50:45.777Z",
     "system": true,
     "noteable_id": 145,
     "noteable_type": "Issue",
     "project_id": 172,
     "resolvable": false,
     "confidential": false,
     "internal": false,
     "imported": false,
     "imported_from": "none",
     "noteable_iid": 2,
     "commands_changes": {},
     "external_author": null,
     "note": "closed",
     "note_html": "<p data-sourcepos=\"1:1-1:6\" dir=\"auto\">closed</p>",
     "body_first_line_html": "<p>closed</p>",
     "current_user": {
      "can_edit": false,
      "can_award_emoji": false,
      "can_resolve": false,
      "can_resolve_discussion": false
     },
     "suggestions": [],
     "resolved": false,
     "resolved_by": null,
     "resolved_by_push": false,
     "system_note_icon_name": "issue-close",
     "is_noteable_author": true,
     "discussion_id": "959b18dccf7032c22a31dcaa23dad02869b667c0",
     "emoji_awardable": false,
     "report_abuse_path": "/-/abuse_reports/add_category",
     "noteable_note_url": "https://git.chaotikum.org/twistory/twistory-bot/-/work_items/2#note_347",
     "cached_markdown_version": 2162688,
     "human_access": "Owner",
     "is_contributor": false,
     "project_name": "twistory-bot",
     "path": "/twistory/twistory-bot/notes/347"
    }
   ]
  }
 ]
}