Skip to content

Commit 43534be

Browse files
committed
AXON-106: Added new mock to e2e
1 parent 356652c commit 43534be

File tree

4 files changed

+70
-0
lines changed

4 files changed

+70
-0
lines changed
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"request": {
3+
"method": "GET",
4+
"urlPath": "/rest/api/3/issue/BTS-1",
5+
"queryParameters": {
6+
"expand": {
7+
"contains": "transitions"
8+
}
9+
}
10+
},
11+
"response": {
12+
"status": 200,
13+
"body": "{\"expand\":\"renderedFields,names,schema,transitions,operations,editmeta,changelog,versionedRepresentations\",\"id\":\"10001\",\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issue/10001\",\"key\":\"BTS-1\",\"renderedFields\":{\"statuscategorychangedate\":\"30/Apr/25 1:14 PM\",\"issuetype\":null,\"timespent\":null,\"project\":null,\"customfield_10031\":null,\"fixVersions\":null,\"aggregatetimespent\":null,\"customfield_10034\":null,\"statusCategory\":null,\"resolution\":null,\"resolutiondate\":null,\"workratio\":null,\"issuerestriction\":null,\"watches\":null,\"lastViewed\":\"Today 12:13 AM\",\"created\":\"30/Apr/25 1:14 PM\",\"customfield_10021\":null,\"priority\":null,\"labels\":null,\"customfield_10017\":\"\",\"customfield_10019\":null,\"timeestimate\":null,\"aggregatetimeoriginalestimate\":null,\"versions\":null,\"issuelinks\":null,\"assignee\":null,\"updated\":\"Today 12:13 AM\",\"status\":null,\"components\":null,\"timeoriginalestimate\":null,\"description\":\"<p>Track and resolve bugs related to the user interface.</p><p><img src=\\\"https://mockedteams.atlassian.net/secure/attachment/10001/test.jpg\\\" alt=\\\"Test Image\\\" data-testid=\\\"description-image\\\" /></p>\",\"timetracking\":{},\"customfield_10015\":null,\"security\":null,\"attachment\":[],\"aggregatetimeestimate\":null,\"summary\":null,\"creator\":null,\"subtasks\":null,\"reporter\":null,\"aggregateprogress\":null,\"customfield_10001\":null,\"environment\":\"\",\"duedate\":\"07/May/25\",\"progress\":null,\"votes\":null,\"comment\":{\"comments\":[],\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issue/10001/comment\",\"maxResults\":0,\"total\":0,\"startAt\":0},\"worklog\":{\"startAt\":0,\"maxResults\":20,\"total\":0,\"worklogs\":[]}},\"transitions\":[{\"id\":\"11\",\"name\":\"To Do\",\"to\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/status/10000\",\"description\":\"\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/statuses/generic.png\",\"name\":\"To Do\",\"id\":\"10000\",\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/2\",\"id\":2,\"key\":\"new\",\"colorName\":\"blue-gray\",\"name\":\"To Do\"}},\"hasScreen\":false,\"isGlobal\":true,\"isInitial\":false,\"isAvailable\":true,\"isConditional\":false,\"fields\":{},\"isLooped\":false},{\"id\":\"21\",\"name\":\"In Progress\",\"to\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/status/10001\",\"description\":\"This work item is being actively worked on at the moment by the assignee.\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/statuses/generic.png\",\"name\":\"In Progress\",\"id\":\"10001\",\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/4\",\"id\":4,\"key\":\"indeterminate\",\"colorName\":\"yellow\",\"name\":\"In Progress\"}},\"hasScreen\":false,\"isGlobal\":true,\"isInitial\":false,\"isAvailable\":true,\"isConditional\":false,\"fields\":{},\"isLooped\":false},{\"id\":\"31\",\"name\":\"In Review\",\"to\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/status/10002\",\"description\":\"\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/statuses/generic.png\",\"name\":\"In Review\",\"id\":\"10002\",\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/4\",\"id\":4,\"key\":\"indeterminate\",\"colorName\":\"yellow\",\"name\":\"In Progress\"}},\"hasScreen\":false,\"isGlobal\":true,\"isInitial\":false,\"isAvailable\":true,\"isConditional\":false,\"fields\":{},\"isLooped\":false},{\"id\":\"41\",\"name\":\"Crying\",\"to\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/status/10003\",\"description\":\"\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/statuses/generic.png\",\"name\":\"Crying\",\"id\":\"10003\",\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/4\",\"id\":4,\"key\":\"indeterminate\",\"colorName\":\"yellow\",\"name\":\"In Progress\"}},\"hasScreen\":false,\"isGlobal\":true,\"isInitial\":false,\"isAvailable\":true,\"isConditional\":false,\"fields\":{},\"isLooped\":false},{\"id\":\"51\",\"name\":\"Done\",\"to\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/status/10004\",\"description\":\"\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/statuses/generic.png\",\"name\":\"Done\",\"id\":\"10004\",\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/3\",\"id\":3,\"key\":\"done\",\"colorName\":\"green\",\"name\":\"Done\"}},\"hasScreen\":false,\"isGlobal\":true,\"isInitial\":false,\"isAvailable\":true,\"isConditional\":false,\"fields\":{},\"isLooped\":false}],\"editmeta\":{\"fields\":{\"summary\":{\"required\":true,\"schema\":{\"type\":\"string\",\"system\":\"summary\"},\"name\":\"Summary\",\"key\":\"summary\",\"operations\":[\"set\"]},\"parent\":{\"required\":false,\"schema\":{\"type\":\"issuelink\",\"system\":\"parent\"},\"name\":\"Parent\",\"key\":\"parent\",\"hasDefaultValue\":false,\"operations\":[\"set\"]},\"issuetype\":{\"required\":true,\"schema\":{\"type\":\"issuetype\",\"system\":\"issuetype\"},\"name\":\"Issue Type\",\"key\":\"issuetype\",\"operations\":[],\"allowedValues\":[{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issuetype/10003\",\"id\":\"10003\",\"description\":\"Tasks track small, distinct pieces of work.\",\"iconUrl\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/issuetype/avatar/10318?size=medium\",\"name\":\"Task\",\"subtask\":false,\"avatarId\":10318,\"entityId\":\"4427eded-a160-4845-9605-eda55a42e9b4\",\"hierarchyLevel\":0},{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issuetype/10004\",\"id\":\"10004\",\"description\":\"Stories track functionality or features expressed as user goals.\",\"iconUrl\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/issuetype/avatar/10315?size=medium\",\"name\":\"Story\",\"subtask\":false,\"avatarId\":10315,\"entityId\":\"403fbe9c-e716-4b18-aec8-bd8fce34776b\",\"hierarchyLevel\":0},{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issuetype/10005\",\"id\":\"10005\",\"description\":\"A broad piece of functionality.\",\"iconUrl\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/issuetype/avatar/10314?size=medium\",\"name\":\"Feature\",\"subtask\":false,\"avatarId\":10314,\"entityId\":\"996cb7a6-1f9a-483b-a5ea-534378f80c3f\",\"hierarchyLevel\":0},{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issuetype/10006\",\"id\":\"10006\",\"description\":\"Bugs track problems or errors.\",\"iconUrl\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/issuetype/avatar/10303?size=medium\",\"name\":\"Bug\",\"subtask\":false,\"avatarId\":10303,\"entityId\":\"6ed9b01d-9b3e-4ed7-b5f9-b35a0e93b50a\",\"hierarchyLevel\":0}]},\"issuerestriction\":{\"required\":false,\"schema\":{\"type\":\"issuerestriction\",\"system\":\"issuerestriction\"},\"name\":\"Restrict to\",\"key\":\"issuerestriction\",\"operations\":[\"set\"],\"allowedValues\":[]},\"customfield_10031\":{\"required\":false,\"schema\":{\"type\":\"any\",\"custom\":\"com.atlassian.jira.plugins.jira-development-integration-plugin:devsummarycf\",\"customId\":10031},\"name\":\"development\",\"key\":\"customfield_10031\",\"operations\":[\"set\"]},\"description\":{\"required\":false,\"schema\":{\"type\":\"string\",\"system\":\"description\"},\"name\":\"Description\",\"key\":\"description\",\"operations\":[\"set\"]},\"customfield_10021\":{\"required\":false,\"schema\":{\"type\":\"array\",\"items\":\"option\",\"custom\":\"com.atlassian.jira.plugin.system.customfieldtypes:multicheckboxes\",\"customId\":10021},\"name\":\"Flagged\",\"key\":\"customfield_10021\",\"operations\":[\"add\",\"set\",\"remove\"],\"allowedValues\":[{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/customFieldOption/10019\",\"value\":\"Impediment\",\"id\":\"10019\"}]},\"reporter\":{\"required\":true,\"schema\":{\"type\":\"user\",\"system\":\"reporter\"},\"name\":\"Reporter\",\"key\":\"reporter\",\"autoCompleteUrl\":\"https://mockedteams.atlassian.net/rest/api/3/user/recommend?context=Reporter&issueKey=BTS-1\",\"operations\":[\"set\"]},\"customfield_10034\":{\"required\":false,\"schema\":{\"type\":\"array\",\"items\":\"design.field.name\",\"custom\":\"com.atlassian.jira.plugins.jira-development-integration-plugin:designcf\",\"customId\":10034},\"name\":\"Design\",\"key\":\"customfield_10034\",\"autoCompleteUrl\":\"\",\"operations\":[\"set\"]},\"customfield_10001\":{\"required\":false,\"schema\":{\"type\":\"team\",\"custom\":\"com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team\",\"customId\":10001,\"configuration\":{\"com.atlassian.jira.plugin.system.customfieldtypes:atlassian-team\":true}},\"name\":\"Team\",\"key\":\"customfield_10001\",\"autoCompleteUrl\":\"https://mockedteams.atlassian.net/gateway/api/v1/recommendations\",\"operations\":[\"set\"]},\"customfield_10035\":{\"required\":false,\"schema\":{\"type\":\"any\",\"custom\":\"com.atlassian.jira.plugins.jira-development-integration-plugin:vulnerabilitycf\",\"customId\":10035},\"name\":\"Vulnerability\",\"key\":\"customfield_10035\",\"operations\":[\"set\"]},\"labels\":{\"required\":false,\"schema\":{\"type\":\"array\",\"items\":\"string\",\"system\":\"labels\"},\"name\":\"Labels\",\"key\":\"labels\",\"autoCompleteUrl\":\"https://mockedteams.atlassian.net/rest/api/1.0/labels/10001/suggest?query=\",\"operations\":[\"add\",\"set\",\"remove\"]},\"customfield_10015\":{\"required\":false,\"schema\":{\"type\":\"date\",\"custom\":\"com.atlassian.jira.plugin.system.customfieldtypes:datepicker\",\"customId\":10015},\"name\":\"Start date\",\"key\":\"customfield_10015\",\"operations\":[\"set\"]},\"customfield_10017\":{\"required\":false,\"schema\":{\"type\":\"string\",\"custom\":\"com.pyxis.greenhopper.jira:jsw-issue-color\",\"customId\":10017},\"name\":\"Issue color\",\"key\":\"customfield_10017\",\"operations\":[\"set\"]},\"environment\":{\"required\":false,\"schema\":{\"type\":\"string\",\"system\":\"environment\"},\"name\":\"Environment\",\"key\":\"environment\",\"operations\":[\"set\"]},\"customfield_10019\":{\"required\":false,\"schema\":{\"type\":\"any\",\"custom\":\"com.pyxis.greenhopper.jira:gh-lexo-rank\",\"customId\":10019},\"name\":\"Rank\",\"key\":\"customfield_10019\",\"operations\":[\"set\"]},\"attachment\":{\"required\":false,\"schema\":{\"type\":\"array\",\"items\":\"attachment\",\"system\":\"attachment\"},\"name\":\"Attachment\",\"key\":\"attachment\",\"operations\":[\"set\",\"copy\"]},\"duedate\":{\"required\":false,\"schema\":{\"type\":\"date\",\"system\":\"duedate\"},\"name\":\"Due date\",\"key\":\"duedate\",\"operations\":[\"set\"]},\"issuelinks\":{\"required\":false,\"schema\":{\"type\":\"array\",\"items\":\"issuelinks\",\"system\":\"issuelinks\"},\"name\":\"Linked Issues\",\"key\":\"issuelinks\",\"autoCompleteUrl\":\"https://mockedteams.atlassian.net/rest/api/3/issue/picker?currentProjectId=&showSubTaskParent=true&showSubTasks=true&currentIssueKey=BTS-1&query=\",\"operations\":[\"add\",\"copy\"]},\"comment\":{\"required\":false,\"schema\":{\"type\":\"comments-page\",\"system\":\"comment\"},\"name\":\"Comment\",\"key\":\"comment\",\"operations\":[\"add\",\"edit\",\"remove\"]},\"assignee\":{\"required\":false,\"schema\":{\"type\":\"user\",\"system\":\"assignee\"},\"name\":\"Assignee\",\"key\":\"assignee\",\"autoCompleteUrl\":\"https://mockedteams.atlassian.net/rest/api/3/user/assignable/search?issueKey=BTS-1&query=\",\"operations\":[\"set\"]}}},\"fields\":{\"statuscategorychangedate\":\"2025-04-30T13:14:50.423-0700\",\"issuetype\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issuetype/10001\",\"id\":\"10001\",\"description\":\"Epics track collections of related bugs, stories, and tasks.\",\"iconUrl\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/issuetype/avatar/10307?size=medium\",\"name\":\"Epic\",\"subtask\":false,\"avatarId\":10307,\"entityId\":\"f11824a0-9706-48f4-a978-d37e5abf24e8\",\"hierarchyLevel\":1},\"timespent\":null,\"project\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/project/10000\",\"id\":\"10000\",\"key\":\"BTS\",\"name\":\"MMOCK\",\"projectTypeKey\":\"software\",\"simplified\":true,\"avatarUrls\":{\"48x48\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/project/avatar/10417\",\"24x24\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/project/avatar/10417?size=small\",\"16x16\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/project/avatar/10417?size=xsmall\",\"32x32\":\"https://mockedteams.atlassian.net/rest/api/3/universal_avatar/view/type/project/avatar/10417?size=medium\"}},\"customfield_10031\":\"{}\",\"fixVersions\":[],\"aggregatetimespent\":null,\"customfield_10034\":null,\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/2\",\"id\":2,\"key\":\"new\",\"colorName\":\"blue-gray\",\"name\":\"To Do\"},\"resolution\":null,\"resolutiondate\":null,\"workratio\":-1,\"issuerestriction\":{\"issuerestrictions\":{},\"shouldDisplay\":true},\"watches\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issue/BTS-1/watchers\",\"watchCount\":1,\"isWatching\":true},\"lastViewed\":\"2025-05-10T00:13:31.904-0700\",\"created\":\"2025-04-30T13:14:48.555-0700\",\"customfield_10021\":null,\"priority\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/priority/3\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/priorities/medium_new.svg\",\"name\":\"Medium\",\"id\":\"3\"},\"labels\":[],\"customfield_10017\":null,\"customfield_10019\":\"0|i00007:\",\"timeestimate\":null,\"aggregatetimeoriginalestimate\":null,\"versions\":[],\"issuelinks\":[],\"assignee\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/user?accountId=712020%3A13354d79-beaa-49d6-a55f-b9510892e3f4\",\"accountId\":\"712020:13354d79-beaa-49d6-a55f-b9510892e3f4\",\"emailAddress\":\"[email protected]\",\"avatarUrls\":{\"48x48\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"24x24\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"16x16\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"32x32\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\"},\"displayName\":\"Mocked McMock\",\"active\":true,\"timeZone\":\"America/Los_Angeles\",\"accountType\":\"atlassian\"},\"updated\":\"2025-05-10T00:13:36.351-0700\",\"status\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/status/10001\",\"description\":\"This work item is being actively worked on at the moment by the assignee.\",\"iconUrl\":\"https://mockedteams.atlassian.net/images/icons/statuses/generic.png\",\"name\":\"To Do\",\"id\":\"10001\",\"statusCategory\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/statuscategory/2\",\"id\":2,\"key\":\"new\",\"colorName\":\"blue-gray\",\"name\":\"To Do\"}},\"components\":[],\"timeoriginalestimate\":null,\"description\":{\"version\":1,\"type\":\"doc\",\"content\":[{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Track and resolve bugs related to the user interface.\"}]},{\"type\":\"paragraph\",\"content\":[]},{\"type\":\"paragraph\",\"content\":[{\"type\":\"text\",\"text\":\"Test Image\"}]}]},\"timetracking\":{},\"customfield_10015\":null,\"security\":null,\"attachment\":[],\"aggregatetimeestimate\":null,\"summary\":\"User Interface Bugs\",\"creator\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/user?accountId=712020%3A13354d79-beaa-49d6-a55f-b9510892e3f4\",\"accountId\":\"712020:13354d79-beaa-49d6-a55f-b9510892e3f4\",\"emailAddress\":\"[email protected]\",\"avatarUrls\":{\"48x48\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"24x24\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"16x16\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"32x32\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\"},\"displayName\":\"Mocked McMock\",\"active\":true,\"timeZone\":\"America/Los_Angeles\",\"accountType\":\"atlassian\"},\"subtasks\":[],\"reporter\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/user?accountId=712020%3A13354d79-beaa-49d6-a55f-b9510892e3f4\",\"accountId\":\"712020:13354d79-beaa-49d6-a55f-b9510892e3f4\",\"emailAddress\":\"[email protected]\",\"avatarUrls\":{\"48x48\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"24x24\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"16x16\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\",\"32x32\":\"https://secure.gravatar.com/avatar/3c1286d428ff8f7167844ee661f0aef0?d=https%3A%2F%2Favatar-management--avatars.us-west-2.staging.public.atl-paas.net%2Finitials%2FMM-3.png\"},\"displayName\":\"Mocked McMock\",\"active\":true,\"timeZone\":\"America/Los_Angeles\",\"accountType\":\"atlassian\"},\"aggregateprogress\":{\"progress\":0,\"total\":0},\"customfield_10001\":null,\"environment\":null,\"duedate\":\"2025-05-07\",\"progress\":{\"progress\":0,\"total\":0},\"votes\":{\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issue/BTS-1/votes\",\"votes\":0,\"hasVoted\":false},\"comment\":{\"comments\":[],\"self\":\"https://mockedteams.atlassian.net/rest/api/3/issue/10001/comment\",\"maxResults\":0,\"total\":0,\"startAt\":0},\"worklog\":{\"startAt\":0,\"maxResults\":20,\"total\":0,\"worklogs\":[]}}}",
14+
"headers": {
15+
"Content-Type": "application/json"
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)