<reponame>33r13k1d/jira-auto-transition-py
issue_created = {
    "timestamp": 1609952887840,
    "webhookEvent": "jira:issue_created",
    "issue_event_type_name": "issue_created",
    "user": {
        "self": "http://localhost:8080/rest/api/2/user?username=admin",
        "name": "admin",
        "key": "JIRAUSER10000",
        "emailAddress": "<EMAIL>",
        "avatarUrls": {
            "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
            "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
            "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
            "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
        },
        "displayName": "admin<EMAIL>",
        "active": True,
        "timeZone": "Asia/Dubai",
    },
    "issue": {
        "id": "10123",
        "self": "http://localhost:8080/rest/api/2/issue/10123",
        "key": "<KEY>",
        "fields": {
            "issuetype": {
                "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                "id": "10000",
                "description": "The sub-task of the issue",
                "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                "name": "Sub-task",
                "subtask": True,
            },
            "parent": {
                "id": "10000",
                "key": "TPROJ-1",
                "self": "http://localhost:8080/rest/api/2/issue/10000",
                "fields": {
                    "summary": "This is your first task",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10000",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "To Do",
                        "id": "10000",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                            "id": 2,
                            "key": "new",
                            "colorName": "blue-gray",
                            "name": "To Do",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/5",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
                        "name": "Lowest",
                        "id": "5",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10001",
                        "id": "10001",
                        "description": "A task that needs to be done.",
                        "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
                        "name": "Task",
                        "subtask": False,
                        "avatarId": 10318,
                    },
                },
            },
            "components": [],
            "timespent": None,
            "timeoriginalestimate": None,
            "description": None,
            "project": {
                "self": "http://localhost:8080/rest/api/2/project/10000",
                "id": "10000",
                "key": "TPROJ",
                "name": "TestProject",
                "projectTypeKey": "business",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                    "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                    "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                    "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
                },
            },
            "fixVersions": [],
            "aggregatetimespent": None,
            "resolution": None,
            "timetracking": {},
            "attachment": [],
            "aggregatetimeestimate": None,
            "resolutiondate": None,
            "workratio": -1,
            "summary": "Sub1",
            "lastViewed": None,
            "watches": {
                "self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/watchers",
                "watchCount": 0,
                "isWatching": False,
            },
            "creator": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "subtasks": [],
            "created": "2021-01-06T17:08:07.821+0000",
            "reporter": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "aggregateprogress": {"progress": 0, "total": 0},
            "priority": {
                "self": "http://localhost:8080/rest/api/2/priority/3",
                "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                "name": "Medium",
                "id": "3",
            },
            "labels": [],
            "environment": None,
            "timeestimate": None,
            "aggregatetimeoriginalestimate": None,
            "versions": [],
            "duedate": None,
            "progress": {"progress": 0, "total": 0},
            "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
            "issuelinks": [],
            "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/votes", "votes": 0, "hasVoted": False},
            "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
            "assignee": None,
            "updated": "2021-01-06T17:08:07.821+0000",
            "status": {
                "self": "http://localhost:8080/rest/api/2/status/10000",
                "description": "",
                "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                "name": "To Do",
                "id": "10000",
                "statusCategory": {
                    "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                    "id": 2,
                    "key": "new",
                    "colorName": "blue-gray",
                    "name": "To Do",
                },
            },
        },
    },
}

issue_updated = {
    "timestamp": 1609953028993,
    "webhookEvent": "jira:issue_updated",
    "issue_event_type_name": "issue_generic",
    "user": {
        "self": "http://localhost:8080/rest/api/2/user?username=admin",
        "name": "admin",
        "key": "JIRAUSER10000",
        "emailAddress": "<EMAIL>",
        "avatarUrls": {
            "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
            "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
            "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
            "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
        },
        "displayName": "<EMAIL>",
        "active": True,
        "timeZone": "Asia/Dubai",
    },
    "issue": {
        "id": "10123",
        "self": "http://localhost:8080/rest/api/2/issue/10123",
        "key": "<KEY>",
        "fields": {
            "issuetype": {
                "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                "id": "10000",
                "description": "The sub-task of the issue",
                "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                "name": "Sub-task",
                "subtask": True,
            },
            "parent": {
                "id": "10000",
                "key": "TPROJ-1",
                "self": "http://localhost:8080/rest/api/2/issue/10000",
                "fields": {
                    "summary": "This is your first task",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10000",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "To Do",
                        "id": "10000",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                            "id": 2,
                            "key": "new",
                            "colorName": "blue-gray",
                            "name": "To Do",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/5",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
                        "name": "Lowest",
                        "id": "5",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10001",
                        "id": "10001",
                        "description": "A task that needs to be done.",
                        "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
                        "name": "Task",
                        "subtask": False,
                        "avatarId": 10318,
                    },
                },
            },
            "components": [],
            "timespent": None,
            "timeoriginalestimate": None,
            "description": None,
            "project": {
                "self": "http://localhost:8080/rest/api/2/project/10000",
                "id": "10000",
                "key": "TPROJ",
                "name": "TestProject",
                "projectTypeKey": "business",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                    "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                    "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                    "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
                },
            },
            "fixVersions": [],
            "aggregatetimespent": None,
            "resolution": {
                "self": "http://localhost:8080/rest/api/2/resolution/10000",
                "id": "10000",
                "description": "Work has been completed on this issue.",
                "name": "Done",
            },
            "timetracking": {},
            "attachment": [],
            "aggregatetimeestimate": None,
            "resolutiondate": "2021-01-06T17:10:28.992+0000",
            "workratio": -1,
            "summary": "Sub1",
            "lastViewed": "2021-01-06T17:10:28.987+0000",
            "watches": {
                "self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/watchers",
                "watchCount": 1,
                "isWatching": True,
            },
            "creator": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "subtasks": [],
            "created": "2021-01-06T17:08:07.821+0000",
            "reporter": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "admin@localhost",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "aggregateprogress": {"progress": 0, "total": 0},
            "priority": {
                "self": "http://localhost:8080/rest/api/2/priority/3",
                "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                "name": "Medium",
                "id": "3",
            },
            "labels": [],
            "environment": None,
            "timeestimate": None,
            "aggregatetimeoriginalestimate": None,
            "versions": [],
            "duedate": None,
            "progress": {"progress": 0, "total": 0},
            "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
            "issuelinks": [],
            "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/votes", "votes": 0, "hasVoted": False},
            "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
            "assignee": None,
            "updated": "2021-01-06T17:10:28.993+0000",
            "status": {
                "self": "http://localhost:8080/rest/api/2/status/10001",
                "description": "",
                "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                "name": "Done",
                "id": "10001",
                "statusCategory": {
                    "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                    "id": 3,
                    "key": "done",
                    "colorName": "green",
                    "name": "Done",
                },
            },
        },
    },
    "changelog": {
        "id": "10148",
        "items": [
            {
                "field": "resolution",
                "fieldtype": "jira",
                "from": None,
                "fromString": None,
                "to": "10000",
                "toString": "Done",
            },
            {
                "field": "status",
                "fieldtype": "jira",
                "from": "10000",
                "fromString": "To Do",
                "to": "10001",
                "toString": "Done",
            },
        ],
    },
}

issue_deleted = {
    "timestamp": 1609953149308,
    "webhookEvent": "jira:issue_deleted",
    "user": {
        "self": "http://localhost:8080/rest/api/2/user?username=admin",
        "name": "admin",
        "key": "JIRAUSER10000",
        "emailAddress": "<EMAIL>",
        "avatarUrls": {
            "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
            "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
            "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
            "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
        },
        "displayName": "<EMAIL>",
        "active": True,
        "timeZone": "Asia/Dubai",
    },
    "issue": {
        "id": "10123",
        "self": "http://localhost:8080/rest/api/2/issue/10123",
        "key": "<KEY>",
        "fields": {
            "issuetype": {
                "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                "id": "10000",
                "description": "The sub-task of the issue",
                "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                "name": "Sub-task",
                "subtask": True,
            },
            "parent": {
                "id": "10000",
                "key": "TPROJ-1",
                "self": "http://localhost:8080/rest/api/2/issue/10000",
                "fields": {
                    "summary": "This is your first task",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10001",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "Done",
                        "id": "10001",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                            "id": 3,
                            "key": "done",
                            "colorName": "green",
                            "name": "Done",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/5",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
                        "name": "Lowest",
                        "id": "5",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10001",
                        "id": "10001",
                        "description": "A task that needs to be done.",
                        "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
                        "name": "Task",
                        "subtask": False,
                        "avatarId": 10318,
                    },
                },
            },
            "components": [],
            "timespent": None,
            "timeoriginalestimate": None,
            "description": None,
            "project": {
                "self": "http://localhost:8080/rest/api/2/project/10000",
                "id": "10000",
                "key": "TPROJ",
                "name": "TestProject",
                "projectTypeKey": "business",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                    "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                    "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                    "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
                },
            },
            "fixVersions": [],
            "aggregatetimespent": None,
            "resolution": {
                "self": "http://localhost:8080/rest/api/2/resolution/10000",
                "id": "10000",
                "description": "Work has been completed on this issue.",
                "name": "Done",
            },
            "timetracking": {},
            "attachment": [],
            "aggregatetimeestimate": None,
            "resolutiondate": "2021-01-06T17:10:28.992+0000",
            "workratio": -1,
            "summary": "Sub1",
            "lastViewed": "2021-01-06T17:12:29.307+0000",
            "watches": {
                "self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/watchers",
                "watchCount": 1,
                "isWatching": True,
            },
            "creator": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "admin<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "subtasks": [],
            "created": "2021-01-06T17:08:07.821+0000",
            "reporter": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "aggregateprogress": {"progress": 0, "total": 0},
            "priority": {
                "self": "http://localhost:8080/rest/api/2/priority/3",
                "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                "name": "Medium",
                "id": "3",
            },
            "labels": [],
            "environment": None,
            "timeestimate": None,
            "aggregatetimeoriginalestimate": None,
            "versions": [],
            "duedate": None,
            "progress": {"progress": 0, "total": 0},
            "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
            "issuelinks": [],
            "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/votes", "votes": 0, "hasVoted": False},
            "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
            "assignee": None,
            "updated": "2021-01-06T17:10:28.993+0000",
            "status": {
                "self": "http://localhost:8080/rest/api/2/status/10001",
                "description": "",
                "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                "name": "Done",
                "id": "10001",
                "statusCategory": {
                    "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                    "id": 3,
                    "key": "done",
                    "colorName": "green",
                    "name": "Done",
                },
            },
        },
    },
}

parent_issue = {
    "expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
    "id": "10000",
    "self": "http://localhost:8080/rest/api/2/issue/10000",
    "key": "TPROJ-1",
    "fields": {
        "issuetype": {
            "self": "http://localhost:8080/rest/api/2/issuetype/10001",
            "id": "10001",
            "description": "A task that needs to be done.",
            "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
            "name": "Task",
            "subtask": False,
            "avatarId": 10318,
        },
        "components": [],
        "timespent": None,
        "timeoriginalestimate": None,
        "description": "h2. This is your first task. \n{color:#707070} Issues are the things you do in a project. In business projects, issues are called tasks. {color}\nh4. Types of tasks\n{color:#707070}A task can represent a document, a creative asset, a purchase and even a person.{color}\n!IssueTypes.png!\nh4. Details\n{color:#707070}The 'Details' section above, provides the information you need, such as priority and status, to help you track the progress of your tasks.{color}\nNext: [Workflows and statuses|TPROJ-2]\n\n----\n[Learn more |http://blogs.atlassian.com/2015/11/make-jira-core-issues-work-for-your-business-team/]",
        "project": {
            "self": "http://localhost:8080/rest/api/2/project/10000",
            "id": "10000",
            "key": "TPROJ",
            "name": "TestProject",
            "projectTypeKey": "business",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
            },
        },
        "fixVersions": [],
        "aggregatetimespent": None,
        "resolution": None,
        "timetracking": {},
        "attachment": [],
        "aggregatetimeestimate": None,
        "resolutiondate": None,
        "workratio": -1,
        "summary": "This is your first task",
        "lastViewed": "2021-01-06T17:08:08.113+0000",
        "watches": {
            "self": "http://localhost:8080/rest/api/2/issue/TPROJ-1/watchers",
            "watchCount": 0,
            "isWatching": False,
        },
        "creator": {
            "self": "http://localhost:8080/rest/api/2/user?username=admin",
            "name": "admin",
            "key": "JIRAUSER10000",
            "emailAddress": "<EMAIL>",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
            },
            "displayName": "<EMAIL>",
            "active": True,
            "timeZone": "Asia/Dubai",
        },
        "subtasks": [
            {
                "id": "10123",
                "key": "<KEY>",
                "self": "http://localhost:8080/rest/api/2/issue/10123",
                "fields": {
                    "summary": "Sub1",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10000",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "To Do",
                        "id": "10000",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                            "id": 2,
                            "key": "new",
                            "colorName": "blue-gray",
                            "name": "To Do",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/3",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                        "name": "Medium",
                        "id": "3",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                        "id": "10000",
                        "description": "The sub-task of the issue",
                        "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                        "name": "Sub-task",
                        "subtask": True,
                    },
                },
            }
        ],
        "created": "2020-12-10T14:16:34.324+0000",
        "reporter": {
            "self": "http://localhost:8080/rest/api/2/user?username=admin",
            "name": "admin",
            "key": "JIRAUSER10000",
            "emailAddress": "<EMAIL>",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
            },
            "displayName": "admin<EMAIL>",
            "active": True,
            "timeZone": "Asia/Dubai",
        },
        "aggregateprogress": {"progress": 0, "total": 0},
        "priority": {
            "self": "http://localhost:8080/rest/api/2/priority/5",
            "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
            "name": "Lowest",
            "id": "5",
        },
        "labels": [],
        "environment": None,
        "timeestimate": None,
        "aggregatetimeoriginalestimate": None,
        "versions": [],
        "duedate": None,
        "progress": {"progress": 0, "total": 0},
        "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
        "issuelinks": [],
        "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-1/votes", "votes": 0, "hasVoted": False},
        "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
        "assignee": {
            "self": "http://localhost:8080/rest/api/2/user?username=admin",
            "name": "admin",
            "key": "JIRAUSER10000",
            "emailAddress": "<EMAIL>",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
            },
            "displayName": "admin@localhost",
            "active": True,
            "timeZone": "Asia/Dubai",
        },
        "updated": "2021-01-06T16:47:46.003+0000",
        "status": {
            "self": "http://localhost:8080/rest/api/2/status/10000",
            "description": "",
            "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
            "name": "To Do",
            "id": "10000",
            "statusCategory": {
                "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                "id": 2,
                "key": "new",
                "colorName": "blue-gray",
                "name": "To Do",
            },
        },
    },
}

transitions = [
    {
        "id": "11",
        "name": "Start Progress",
        "to": {
            "self": "http://localhost:8080/rest/api/2/status/3",
            "description": "This issue is being actively worked on at the moment by the assignee.",
            "iconUrl": "http://localhost:8080/images/icons/statuses/inprogress.png",
            "name": "In Progress",
            "id": "3",
            "statusCategory": {
                "self": "http://localhost:8080/rest/api/2/statuscategory/4",
                "id": 4,
                "key": "indeterminate",
                "colorName": "yellow",
                "name": "In Progress",
            },
        },
    },
    {
        "id": "21",
        "name": "Done",
        "to": {
            "self": "http://localhost:8080/rest/api/2/status/10001",
            "description": "",
            "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
            "name": "Done",
            "id": "10001",
            "statusCategory": {
                "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                "id": 3,
                "key": "done",
                "colorName": "green",
                "name": "Done",
            },
        },
    },
]

issue_created = {
    "timestamp": 1609952887840,
    "webhookEvent": "jira:issue_created",
    "issue_event_type_name": "issue_created",
    "user": {
        "self": "http://localhost:8080/rest/api/2/user?username=admin",
        "name": "admin",
        "key": "JIRAUSER10000",
        "emailAddress": "<EMAIL>",
        "avatarUrls": {
            "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
            "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
            "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
            "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
        },
        "displayName": "admin<EMAIL>",
        "active": True,
        "timeZone": "Asia/Dubai",
    },
    "issue": {
        "id": "10123",
        "self": "http://localhost:8080/rest/api/2/issue/10123",
        "key": "<KEY>",
        "fields": {
            "issuetype": {
                "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                "id": "10000",
                "description": "The sub-task of the issue",
                "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                "name": "Sub-task",
                "subtask": True,
            },
            "parent": {
                "id": "10000",
                "key": "TPROJ-1",
                "self": "http://localhost:8080/rest/api/2/issue/10000",
                "fields": {
                    "summary": "This is your first task",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10000",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "To Do",
                        "id": "10000",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                            "id": 2,
                            "key": "new",
                            "colorName": "blue-gray",
                            "name": "To Do",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/5",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
                        "name": "Lowest",
                        "id": "5",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10001",
                        "id": "10001",
                        "description": "A task that needs to be done.",
                        "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
                        "name": "Task",
                        "subtask": False,
                        "avatarId": 10318,
                    },
                },
            },
            "components": [],
            "timespent": None,
            "timeoriginalestimate": None,
            "description": None,
            "project": {
                "self": "http://localhost:8080/rest/api/2/project/10000",
                "id": "10000",
                "key": "TPROJ",
                "name": "TestProject",
                "projectTypeKey": "business",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                    "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                    "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                    "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
                },
            },
            "fixVersions": [],
            "aggregatetimespent": None,
            "resolution": None,
            "timetracking": {},
            "attachment": [],
            "aggregatetimeestimate": None,
            "resolutiondate": None,
            "workratio": -1,
            "summary": "Sub1",
            "lastViewed": None,
            "watches": {
                "self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/watchers",
                "watchCount": 0,
                "isWatching": False,
            },
            "creator": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "subtasks": [],
            "created": "2021-01-06T17:08:07.821+0000",
            "reporter": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "aggregateprogress": {"progress": 0, "total": 0},
            "priority": {
                "self": "http://localhost:8080/rest/api/2/priority/3",
                "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                "name": "Medium",
                "id": "3",
            },
            "labels": [],
            "environment": None,
            "timeestimate": None,
            "aggregatetimeoriginalestimate": None,
            "versions": [],
            "duedate": None,
            "progress": {"progress": 0, "total": 0},
            "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
            "issuelinks": [],
            "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/votes", "votes": 0, "hasVoted": False},
            "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
            "assignee": None,
            "updated": "2021-01-06T17:08:07.821+0000",
            "status": {
                "self": "http://localhost:8080/rest/api/2/status/10000",
                "description": "",
                "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                "name": "To Do",
                "id": "10000",
                "statusCategory": {
                    "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                    "id": 2,
                    "key": "new",
                    "colorName": "blue-gray",
                    "name": "To Do",
                },
            },
        },
    },
}

issue_updated = {
    "timestamp": 1609953028993,
    "webhookEvent": "jira:issue_updated",
    "issue_event_type_name": "issue_generic",
    "user": {
        "self": "http://localhost:8080/rest/api/2/user?username=admin",
        "name": "admin",
        "key": "JIRAUSER10000",
        "emailAddress": "<EMAIL>",
        "avatarUrls": {
            "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
            "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
            "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
            "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
        },
        "displayName": "<EMAIL>",
        "active": True,
        "timeZone": "Asia/Dubai",
    },
    "issue": {
        "id": "10123",
        "self": "http://localhost:8080/rest/api/2/issue/10123",
        "key": "<KEY>",
        "fields": {
            "issuetype": {
                "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                "id": "10000",
                "description": "The sub-task of the issue",
                "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                "name": "Sub-task",
                "subtask": True,
            },
            "parent": {
                "id": "10000",
                "key": "TPROJ-1",
                "self": "http://localhost:8080/rest/api/2/issue/10000",
                "fields": {
                    "summary": "This is your first task",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10000",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "To Do",
                        "id": "10000",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                            "id": 2,
                            "key": "new",
                            "colorName": "blue-gray",
                            "name": "To Do",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/5",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
                        "name": "Lowest",
                        "id": "5",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10001",
                        "id": "10001",
                        "description": "A task that needs to be done.",
                        "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
                        "name": "Task",
                        "subtask": False,
                        "avatarId": 10318,
                    },
                },
            },
            "components": [],
            "timespent": None,
            "timeoriginalestimate": None,
            "description": None,
            "project": {
                "self": "http://localhost:8080/rest/api/2/project/10000",
                "id": "10000",
                "key": "TPROJ",
                "name": "TestProject",
                "projectTypeKey": "business",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                    "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                    "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                    "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
                },
            },
            "fixVersions": [],
            "aggregatetimespent": None,
            "resolution": {
                "self": "http://localhost:8080/rest/api/2/resolution/10000",
                "id": "10000",
                "description": "Work has been completed on this issue.",
                "name": "Done",
            },
            "timetracking": {},
            "attachment": [],
            "aggregatetimeestimate": None,
            "resolutiondate": "2021-01-06T17:10:28.992+0000",
            "workratio": -1,
            "summary": "Sub1",
            "lastViewed": "2021-01-06T17:10:28.987+0000",
            "watches": {
                "self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/watchers",
                "watchCount": 1,
                "isWatching": True,
            },
            "creator": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "subtasks": [],
            "created": "2021-01-06T17:08:07.821+0000",
            "reporter": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "admin@localhost",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "aggregateprogress": {"progress": 0, "total": 0},
            "priority": {
                "self": "http://localhost:8080/rest/api/2/priority/3",
                "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                "name": "Medium",
                "id": "3",
            },
            "labels": [],
            "environment": None,
            "timeestimate": None,
            "aggregatetimeoriginalestimate": None,
            "versions": [],
            "duedate": None,
            "progress": {"progress": 0, "total": 0},
            "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
            "issuelinks": [],
            "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/votes", "votes": 0, "hasVoted": False},
            "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
            "assignee": None,
            "updated": "2021-01-06T17:10:28.993+0000",
            "status": {
                "self": "http://localhost:8080/rest/api/2/status/10001",
                "description": "",
                "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                "name": "Done",
                "id": "10001",
                "statusCategory": {
                    "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                    "id": 3,
                    "key": "done",
                    "colorName": "green",
                    "name": "Done",
                },
            },
        },
    },
    "changelog": {
        "id": "10148",
        "items": [
            {
                "field": "resolution",
                "fieldtype": "jira",
                "from": None,
                "fromString": None,
                "to": "10000",
                "toString": "Done",
            },
            {
                "field": "status",
                "fieldtype": "jira",
                "from": "10000",
                "fromString": "To Do",
                "to": "10001",
                "toString": "Done",
            },
        ],
    },
}

issue_deleted = {
    "timestamp": 1609953149308,
    "webhookEvent": "jira:issue_deleted",
    "user": {
        "self": "http://localhost:8080/rest/api/2/user?username=admin",
        "name": "admin",
        "key": "JIRAUSER10000",
        "emailAddress": "<EMAIL>",
        "avatarUrls": {
            "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
            "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
            "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
            "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
        },
        "displayName": "<EMAIL>",
        "active": True,
        "timeZone": "Asia/Dubai",
    },
    "issue": {
        "id": "10123",
        "self": "http://localhost:8080/rest/api/2/issue/10123",
        "key": "<KEY>",
        "fields": {
            "issuetype": {
                "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                "id": "10000",
                "description": "The sub-task of the issue",
                "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                "name": "Sub-task",
                "subtask": True,
            },
            "parent": {
                "id": "10000",
                "key": "TPROJ-1",
                "self": "http://localhost:8080/rest/api/2/issue/10000",
                "fields": {
                    "summary": "This is your first task",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10001",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "Done",
                        "id": "10001",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                            "id": 3,
                            "key": "done",
                            "colorName": "green",
                            "name": "Done",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/5",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
                        "name": "Lowest",
                        "id": "5",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10001",
                        "id": "10001",
                        "description": "A task that needs to be done.",
                        "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
                        "name": "Task",
                        "subtask": False,
                        "avatarId": 10318,
                    },
                },
            },
            "components": [],
            "timespent": None,
            "timeoriginalestimate": None,
            "description": None,
            "project": {
                "self": "http://localhost:8080/rest/api/2/project/10000",
                "id": "10000",
                "key": "TPROJ",
                "name": "TestProject",
                "projectTypeKey": "business",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                    "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                    "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                    "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
                },
            },
            "fixVersions": [],
            "aggregatetimespent": None,
            "resolution": {
                "self": "http://localhost:8080/rest/api/2/resolution/10000",
                "id": "10000",
                "description": "Work has been completed on this issue.",
                "name": "Done",
            },
            "timetracking": {},
            "attachment": [],
            "aggregatetimeestimate": None,
            "resolutiondate": "2021-01-06T17:10:28.992+0000",
            "workratio": -1,
            "summary": "Sub1",
            "lastViewed": "2021-01-06T17:12:29.307+0000",
            "watches": {
                "self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/watchers",
                "watchCount": 1,
                "isWatching": True,
            },
            "creator": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "admin<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "subtasks": [],
            "created": "2021-01-06T17:08:07.821+0000",
            "reporter": {
                "self": "http://localhost:8080/rest/api/2/user?username=admin",
                "name": "admin",
                "key": "JIRAUSER10000",
                "emailAddress": "<EMAIL>",
                "avatarUrls": {
                    "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                    "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                    "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                    "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
                },
                "displayName": "<EMAIL>",
                "active": True,
                "timeZone": "Asia/Dubai",
            },
            "aggregateprogress": {"progress": 0, "total": 0},
            "priority": {
                "self": "http://localhost:8080/rest/api/2/priority/3",
                "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                "name": "Medium",
                "id": "3",
            },
            "labels": [],
            "environment": None,
            "timeestimate": None,
            "aggregatetimeoriginalestimate": None,
            "versions": [],
            "duedate": None,
            "progress": {"progress": 0, "total": 0},
            "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
            "issuelinks": [],
            "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-30/votes", "votes": 0, "hasVoted": False},
            "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
            "assignee": None,
            "updated": "2021-01-06T17:10:28.993+0000",
            "status": {
                "self": "http://localhost:8080/rest/api/2/status/10001",
                "description": "",
                "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                "name": "Done",
                "id": "10001",
                "statusCategory": {
                    "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                    "id": 3,
                    "key": "done",
                    "colorName": "green",
                    "name": "Done",
                },
            },
        },
    },
}

parent_issue = {
    "expand": "renderedFields,names,schema,operations,editmeta,changelog,versionedRepresentations",
    "id": "10000",
    "self": "http://localhost:8080/rest/api/2/issue/10000",
    "key": "TPROJ-1",
    "fields": {
        "issuetype": {
            "self": "http://localhost:8080/rest/api/2/issuetype/10001",
            "id": "10001",
            "description": "A task that needs to be done.",
            "iconUrl": "http://localhost:8080/secure/viewavatar?size=xsmall&avatarId=10318&avatarType=issuetype",
            "name": "Task",
            "subtask": False,
            "avatarId": 10318,
        },
        "components": [],
        "timespent": None,
        "timeoriginalestimate": None,
        "description": "h2. This is your first task. \n{color:#707070} Issues are the things you do in a project. In business projects, issues are called tasks. {color}\nh4. Types of tasks\n{color:#707070}A task can represent a document, a creative asset, a purchase and even a person.{color}\n!IssueTypes.png!\nh4. Details\n{color:#707070}The 'Details' section above, provides the information you need, such as priority and status, to help you track the progress of your tasks.{color}\nNext: [Workflows and statuses|TPROJ-2]\n\n----\n[Learn more |http://blogs.atlassian.com/2015/11/make-jira-core-issues-work-for-your-business-team/]",
        "project": {
            "self": "http://localhost:8080/rest/api/2/project/10000",
            "id": "10000",
            "key": "TPROJ",
            "name": "TestProject",
            "projectTypeKey": "business",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/projectavatar?avatarId=10324",
                "24x24": "http://localhost:8080/secure/projectavatar?size=small&avatarId=10324",
                "16x16": "http://localhost:8080/secure/projectavatar?size=xsmall&avatarId=10324",
                "32x32": "http://localhost:8080/secure/projectavatar?size=medium&avatarId=10324",
            },
        },
        "fixVersions": [],
        "aggregatetimespent": None,
        "resolution": None,
        "timetracking": {},
        "attachment": [],
        "aggregatetimeestimate": None,
        "resolutiondate": None,
        "workratio": -1,
        "summary": "This is your first task",
        "lastViewed": "2021-01-06T17:08:08.113+0000",
        "watches": {
            "self": "http://localhost:8080/rest/api/2/issue/TPROJ-1/watchers",
            "watchCount": 0,
            "isWatching": False,
        },
        "creator": {
            "self": "http://localhost:8080/rest/api/2/user?username=admin",
            "name": "admin",
            "key": "JIRAUSER10000",
            "emailAddress": "<EMAIL>",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
            },
            "displayName": "<EMAIL>",
            "active": True,
            "timeZone": "Asia/Dubai",
        },
        "subtasks": [
            {
                "id": "10123",
                "key": "<KEY>",
                "self": "http://localhost:8080/rest/api/2/issue/10123",
                "fields": {
                    "summary": "Sub1",
                    "status": {
                        "self": "http://localhost:8080/rest/api/2/status/10000",
                        "description": "",
                        "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
                        "name": "To Do",
                        "id": "10000",
                        "statusCategory": {
                            "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                            "id": 2,
                            "key": "new",
                            "colorName": "blue-gray",
                            "name": "To Do",
                        },
                    },
                    "priority": {
                        "self": "http://localhost:8080/rest/api/2/priority/3",
                        "iconUrl": "http://localhost:8080/images/icons/priorities/medium.svg",
                        "name": "Medium",
                        "id": "3",
                    },
                    "issuetype": {
                        "self": "http://localhost:8080/rest/api/2/issuetype/10000",
                        "id": "10000",
                        "description": "The sub-task of the issue",
                        "iconUrl": "http://localhost:8080/images/icons/issuetypes/subtask_alternate.png",
                        "name": "Sub-task",
                        "subtask": True,
                    },
                },
            }
        ],
        "created": "2020-12-10T14:16:34.324+0000",
        "reporter": {
            "self": "http://localhost:8080/rest/api/2/user?username=admin",
            "name": "admin",
            "key": "JIRAUSER10000",
            "emailAddress": "<EMAIL>",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
            },
            "displayName": "admin<EMAIL>",
            "active": True,
            "timeZone": "Asia/Dubai",
        },
        "aggregateprogress": {"progress": 0, "total": 0},
        "priority": {
            "self": "http://localhost:8080/rest/api/2/priority/5",
            "iconUrl": "http://localhost:8080/images/icons/priorities/lowest.svg",
            "name": "Lowest",
            "id": "5",
        },
        "labels": [],
        "environment": None,
        "timeestimate": None,
        "aggregatetimeoriginalestimate": None,
        "versions": [],
        "duedate": None,
        "progress": {"progress": 0, "total": 0},
        "comment": {"comments": [], "maxResults": 0, "total": 0, "startAt": 0},
        "issuelinks": [],
        "votes": {"self": "http://localhost:8080/rest/api/2/issue/TPROJ-1/votes", "votes": 0, "hasVoted": False},
        "worklog": {"startAt": 0, "maxResults": 20, "total": 0, "worklogs": []},
        "assignee": {
            "self": "http://localhost:8080/rest/api/2/user?username=admin",
            "name": "admin",
            "key": "JIRAUSER10000",
            "emailAddress": "<EMAIL>",
            "avatarUrls": {
                "48x48": "http://localhost:8080/secure/useravatar?avatarId=10350",
                "24x24": "http://localhost:8080/secure/useravatar?size=small&avatarId=10350",
                "16x16": "http://localhost:8080/secure/useravatar?size=xsmall&avatarId=10350",
                "32x32": "http://localhost:8080/secure/useravatar?size=medium&avatarId=10350",
            },
            "displayName": "admin@localhost",
            "active": True,
            "timeZone": "Asia/Dubai",
        },
        "updated": "2021-01-06T16:47:46.003+0000",
        "status": {
            "self": "http://localhost:8080/rest/api/2/status/10000",
            "description": "",
            "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
            "name": "To Do",
            "id": "10000",
            "statusCategory": {
                "self": "http://localhost:8080/rest/api/2/statuscategory/2",
                "id": 2,
                "key": "new",
                "colorName": "blue-gray",
                "name": "To Do",
            },
        },
    },
}

transitions = [
    {
        "id": "11",
        "name": "Start Progress",
        "to": {
            "self": "http://localhost:8080/rest/api/2/status/3",
            "description": "This issue is being actively worked on at the moment by the assignee.",
            "iconUrl": "http://localhost:8080/images/icons/statuses/inprogress.png",
            "name": "In Progress",
            "id": "3",
            "statusCategory": {
                "self": "http://localhost:8080/rest/api/2/statuscategory/4",
                "id": 4,
                "key": "indeterminate",
                "colorName": "yellow",
                "name": "In Progress",
            },
        },
    },
    {
        "id": "21",
        "name": "Done",
        "to": {
            "self": "http://localhost:8080/rest/api/2/status/10001",
            "description": "",
            "iconUrl": "http://localhost:8080/images/icons/status_generic.gif",
            "name": "Done",
            "id": "10001",
            "statusCategory": {
                "self": "http://localhost:8080/rest/api/2/statuscategory/3",
                "id": 3,
                "key": "done",
                "colorName": "green",
                "name": "Done",
            },
        },
    },
]
#707070} Issues are the things you do in a project. In business projects, issues are called tasks. {color}\nh4. Types of tasks\n{color:#707070}A task can represent a document, a creative asset, a purchase and even a person.{color}\n!IssueTypes.png!\nh4. Details\n{color:#707070}The 'Details' section above, provides the information you need, such as priority and status, to help you track the progress of your tasks.{color}\nNext: [Workflows and statuses|TPROJ-2]\n\n----\n[Learn more |http://blogs.atlassian.com/2015/11/make-jira-core-issues-work-for-your-business-team/]",