2021-06-08 01:23:25 +05:30
|
|
|
import {
|
2023-01-13 00:05:48 +05:30
|
|
|
FILTERED_SEARCH_TERM,
|
2021-06-08 01:23:25 +05:30
|
|
|
OPERATOR_IS,
|
2023-03-04 22:38:38 +05:30
|
|
|
OPERATOR_NOT,
|
2023-01-13 00:05:48 +05:30
|
|
|
OPERATOR_OR,
|
|
|
|
TOKEN_TYPE_ASSIGNEE,
|
|
|
|
TOKEN_TYPE_AUTHOR,
|
|
|
|
TOKEN_TYPE_CONFIDENTIAL,
|
|
|
|
TOKEN_TYPE_CONTACT,
|
|
|
|
TOKEN_TYPE_EPIC,
|
|
|
|
TOKEN_TYPE_ITERATION,
|
|
|
|
TOKEN_TYPE_LABEL,
|
|
|
|
TOKEN_TYPE_MILESTONE,
|
|
|
|
TOKEN_TYPE_MY_REACTION,
|
|
|
|
TOKEN_TYPE_ORGANIZATION,
|
|
|
|
TOKEN_TYPE_RELEASE,
|
|
|
|
TOKEN_TYPE_TYPE,
|
|
|
|
TOKEN_TYPE_WEIGHT,
|
2023-03-17 16:20:25 +05:30
|
|
|
TOKEN_TYPE_HEALTH,
|
2021-06-08 01:23:25 +05:30
|
|
|
} from '~/vue_shared/components/filtered_search_bar/constants';
|
|
|
|
|
2021-09-04 01:27:46 +05:30
|
|
|
export const getIssuesQueryResponse = {
|
|
|
|
data: {
|
|
|
|
project: {
|
2022-01-26 12:08:38 +05:30
|
|
|
id: '1',
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'Project',
|
2021-09-04 01:27:46 +05:30
|
|
|
issues: {
|
2023-04-23 21:23:45 +05:30
|
|
|
__persist: true,
|
2021-09-04 01:27:46 +05:30
|
|
|
pageInfo: {
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'PageInfo',
|
2021-09-30 23:02:18 +05:30
|
|
|
hasNextPage: true,
|
2021-09-04 01:27:46 +05:30
|
|
|
hasPreviousPage: false,
|
|
|
|
startCursor: 'startcursor',
|
|
|
|
endCursor: 'endcursor',
|
|
|
|
},
|
|
|
|
nodes: [
|
|
|
|
{
|
2023-04-23 21:23:45 +05:30
|
|
|
__persist: true,
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'Issue',
|
2021-09-04 01:27:46 +05:30
|
|
|
id: 'gid://gitlab/Issue/123456',
|
|
|
|
iid: '789',
|
|
|
|
confidential: false,
|
|
|
|
createdAt: '2021-05-22T04:08:01Z',
|
|
|
|
downvotes: 2,
|
|
|
|
dueDate: '2021-05-29',
|
2022-01-26 12:08:38 +05:30
|
|
|
hidden: false,
|
2021-09-04 01:27:46 +05:30
|
|
|
humanTimeEstimate: null,
|
2021-10-27 15:23:28 +05:30
|
|
|
mergeRequestsCount: false,
|
2021-09-04 01:27:46 +05:30
|
|
|
moved: false,
|
2022-06-21 17:19:12 +05:30
|
|
|
state: 'opened',
|
2021-09-04 01:27:46 +05:30
|
|
|
title: 'Issue title',
|
|
|
|
updatedAt: '2021-05-22T04:08:01Z',
|
2022-08-13 15:12:31 +05:30
|
|
|
closedAt: null,
|
2021-09-04 01:27:46 +05:30
|
|
|
upvotes: 3,
|
|
|
|
userDiscussionsCount: 4,
|
2021-11-11 11:23:49 +05:30
|
|
|
webPath: 'project/-/issues/789',
|
2021-09-04 01:27:46 +05:30
|
|
|
webUrl: 'project/-/issues/789',
|
2022-08-27 11:52:29 +05:30
|
|
|
type: 'issue',
|
2021-09-04 01:27:46 +05:30
|
|
|
assignees: {
|
|
|
|
nodes: [
|
|
|
|
{
|
2023-04-23 21:23:45 +05:30
|
|
|
__persist: true,
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'UserCore',
|
2021-09-04 01:27:46 +05:30
|
|
|
id: 'gid://gitlab/User/234',
|
|
|
|
avatarUrl: 'avatar/url',
|
|
|
|
name: 'Marge Simpson',
|
|
|
|
username: 'msimpson',
|
|
|
|
webUrl: 'url/msimpson',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
author: {
|
2023-04-23 21:23:45 +05:30
|
|
|
__persist: true,
|
2022-04-04 11:22:00 +05:30
|
|
|
__typename: 'UserCore',
|
2021-09-04 01:27:46 +05:30
|
|
|
id: 'gid://gitlab/User/456',
|
|
|
|
avatarUrl: 'avatar/url',
|
|
|
|
name: 'Homer Simpson',
|
|
|
|
username: 'hsimpson',
|
|
|
|
webUrl: 'url/hsimpson',
|
|
|
|
},
|
|
|
|
labels: {
|
|
|
|
nodes: [
|
|
|
|
{
|
2023-04-23 21:23:45 +05:30
|
|
|
__persist: true,
|
2021-09-04 01:27:46 +05:30
|
|
|
id: 'gid://gitlab/ProjectLabel/456',
|
|
|
|
color: '#333',
|
|
|
|
title: 'Label title',
|
|
|
|
description: 'Label description',
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
milestone: null,
|
|
|
|
taskCompletionStatus: {
|
|
|
|
completedCount: 1,
|
|
|
|
count: 2,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2021-11-11 11:23:49 +05:30
|
|
|
export const getIssuesCountsQueryResponse = {
|
2021-09-30 23:02:18 +05:30
|
|
|
data: {
|
|
|
|
project: {
|
2022-01-26 12:08:38 +05:30
|
|
|
id: '1',
|
2021-11-11 11:23:49 +05:30
|
|
|
openedIssues: {
|
|
|
|
count: 1,
|
|
|
|
},
|
|
|
|
closedIssues: {
|
|
|
|
count: 1,
|
|
|
|
},
|
|
|
|
allIssues: {
|
2021-09-30 23:02:18 +05:30
|
|
|
count: 1,
|
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2022-04-04 11:22:00 +05:30
|
|
|
export const setSortPreferenceMutationResponse = {
|
|
|
|
data: {
|
|
|
|
userPreferencesUpdate: {
|
|
|
|
errors: [],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
|
|
|
export const setSortPreferenceMutationResponseWithErrors = {
|
|
|
|
data: {
|
|
|
|
userPreferencesUpdate: {
|
|
|
|
errors: ['oh no!'],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
};
|
|
|
|
|
2021-06-08 01:23:25 +05:30
|
|
|
export const locationSearch = [
|
|
|
|
'?search=find+issues',
|
|
|
|
'author_username=homer',
|
|
|
|
'not[author_username]=marge',
|
2023-03-04 22:38:38 +05:30
|
|
|
'or[author_username]=burns',
|
|
|
|
'or[author_username]=smithers',
|
2021-06-08 01:23:25 +05:30
|
|
|
'assignee_username[]=bart',
|
|
|
|
'assignee_username[]=lisa',
|
2022-06-21 17:19:12 +05:30
|
|
|
'assignee_username[]=5',
|
2021-06-08 01:23:25 +05:30
|
|
|
'not[assignee_username][]=patty',
|
|
|
|
'not[assignee_username][]=selma',
|
2023-01-13 00:05:48 +05:30
|
|
|
'or[assignee_username][]=carl',
|
|
|
|
'or[assignee_username][]=lenny',
|
2021-12-11 22:18:48 +05:30
|
|
|
'milestone_title=season+3',
|
2021-06-08 01:23:25 +05:30
|
|
|
'milestone_title=season+4',
|
|
|
|
'not[milestone_title]=season+20',
|
2021-12-11 22:18:48 +05:30
|
|
|
'not[milestone_title]=season+30',
|
2021-06-08 01:23:25 +05:30
|
|
|
'label_name[]=cartoon',
|
|
|
|
'label_name[]=tv',
|
|
|
|
'not[label_name][]=live action',
|
|
|
|
'not[label_name][]=drama',
|
2023-03-17 16:20:25 +05:30
|
|
|
'or[label_name][]=comedy',
|
|
|
|
'or[label_name][]=sitcom',
|
2021-12-11 22:18:48 +05:30
|
|
|
'release_tag=v3',
|
|
|
|
'release_tag=v4',
|
|
|
|
'not[release_tag]=v20',
|
|
|
|
'not[release_tag]=v30',
|
|
|
|
'type[]=issue',
|
|
|
|
'type[]=feature',
|
|
|
|
'not[type][]=bug',
|
|
|
|
'not[type][]=incident',
|
2021-06-08 01:23:25 +05:30
|
|
|
'my_reaction_emoji=thumbsup',
|
2021-12-11 22:18:48 +05:30
|
|
|
'not[my_reaction_emoji]=thumbsdown',
|
|
|
|
'confidential=yes',
|
2021-09-30 23:02:18 +05:30
|
|
|
'iteration_id=4',
|
2021-12-11 22:18:48 +05:30
|
|
|
'iteration_id=12',
|
2021-09-30 23:02:18 +05:30
|
|
|
'not[iteration_id]=20',
|
2021-12-11 22:18:48 +05:30
|
|
|
'not[iteration_id]=42',
|
2021-09-30 23:02:18 +05:30
|
|
|
'epic_id=12',
|
|
|
|
'not[epic_id]=34',
|
2021-06-08 01:23:25 +05:30
|
|
|
'weight=1',
|
|
|
|
'not[weight]=3',
|
2022-07-16 23:28:13 +05:30
|
|
|
'crm_contact_id=123',
|
|
|
|
'crm_organization_id=456',
|
2023-03-17 16:20:25 +05:30
|
|
|
'health_status=atRisk',
|
|
|
|
'not[health_status]=onTrack',
|
2021-06-08 01:23:25 +05:30
|
|
|
].join('&');
|
|
|
|
|
|
|
|
export const locationSearchWithSpecialValues = [
|
|
|
|
'assignee_id=123',
|
|
|
|
'assignee_username=bart',
|
|
|
|
'my_reaction_emoji=None',
|
|
|
|
'iteration_id=Current',
|
2021-12-11 22:18:48 +05:30
|
|
|
'label_name[]=None',
|
|
|
|
'release_tag=None',
|
2021-10-27 15:23:28 +05:30
|
|
|
'milestone_title=Upcoming',
|
2021-06-08 01:23:25 +05:30
|
|
|
'epic_id=None',
|
|
|
|
'weight=None',
|
2023-03-17 16:20:25 +05:30
|
|
|
'health_status=None',
|
2021-06-08 01:23:25 +05:30
|
|
|
].join('&');
|
|
|
|
|
|
|
|
export const filteredTokens = [
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_AUTHOR, value: { data: 'homer', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_AUTHOR, value: { data: 'marge', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_AUTHOR, value: { data: 'burns', operator: OPERATOR_OR } },
|
|
|
|
{ type: TOKEN_TYPE_AUTHOR, value: { data: 'smithers', operator: OPERATOR_OR } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'bart', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'lisa', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: '5', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'patty', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'selma', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'carl', operator: OPERATOR_OR } },
|
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'lenny', operator: OPERATOR_OR } },
|
|
|
|
{ type: TOKEN_TYPE_MILESTONE, value: { data: 'season 3', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_MILESTONE, value: { data: 'season 4', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_MILESTONE, value: { data: 'season 20', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_MILESTONE, value: { data: 'season 30', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'cartoon', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'tv', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'live action', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'drama', operator: OPERATOR_NOT } },
|
2023-03-17 16:20:25 +05:30
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'comedy', operator: OPERATOR_OR } },
|
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'sitcom', operator: OPERATOR_OR } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_RELEASE, value: { data: 'v3', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_RELEASE, value: { data: 'v4', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_RELEASE, value: { data: 'v20', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_RELEASE, value: { data: 'v30', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_TYPE, value: { data: 'issue', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_TYPE, value: { data: 'feature', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_TYPE, value: { data: 'bug', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_TYPE, value: { data: 'incident', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_MY_REACTION, value: { data: 'thumbsup', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_MY_REACTION, value: { data: 'thumbsdown', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_CONFIDENTIAL, value: { data: 'yes', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ITERATION, value: { data: '4', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ITERATION, value: { data: '12', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_ITERATION, value: { data: '20', operator: OPERATOR_NOT } },
|
|
|
|
{ type: TOKEN_TYPE_ITERATION, value: { data: '42', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_EPIC, value: { data: '12', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_EPIC, value: { data: '34', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_WEIGHT, value: { data: '1', operator: OPERATOR_IS } },
|
2023-03-04 22:38:38 +05:30
|
|
|
{ type: TOKEN_TYPE_WEIGHT, value: { data: '3', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_CONTACT, value: { data: '123', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ORGANIZATION, value: { data: '456', operator: OPERATOR_IS } },
|
2023-03-17 16:20:25 +05:30
|
|
|
{ type: TOKEN_TYPE_HEALTH, value: { data: 'atRisk', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_HEALTH, value: { data: 'onTrack', operator: OPERATOR_NOT } },
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: FILTERED_SEARCH_TERM, value: { data: 'find' } },
|
|
|
|
{ type: FILTERED_SEARCH_TERM, value: { data: 'issues' } },
|
2021-06-08 01:23:25 +05:30
|
|
|
];
|
|
|
|
|
|
|
|
export const filteredTokensWithSpecialValues = [
|
2023-01-13 00:05:48 +05:30
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: '123', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ASSIGNEE, value: { data: 'bart', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_MY_REACTION, value: { data: 'None', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_ITERATION, value: { data: 'Current', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_LABEL, value: { data: 'None', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_RELEASE, value: { data: 'None', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_MILESTONE, value: { data: 'Upcoming', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_EPIC, value: { data: 'None', operator: OPERATOR_IS } },
|
|
|
|
{ type: TOKEN_TYPE_WEIGHT, value: { data: 'None', operator: OPERATOR_IS } },
|
2023-03-17 16:20:25 +05:30
|
|
|
{ type: TOKEN_TYPE_HEALTH, value: { data: 'None', operator: OPERATOR_IS } },
|
2021-06-08 01:23:25 +05:30
|
|
|
];
|
|
|
|
|
|
|
|
export const apiParams = {
|
2021-09-30 23:02:18 +05:30
|
|
|
authorUsername: 'homer',
|
2022-06-21 17:19:12 +05:30
|
|
|
assigneeUsernames: ['bart', 'lisa', '5'],
|
2021-12-11 22:18:48 +05:30
|
|
|
milestoneTitle: ['season 3', 'season 4'],
|
2021-09-30 23:02:18 +05:30
|
|
|
labelName: ['cartoon', 'tv'],
|
2021-12-11 22:18:48 +05:30
|
|
|
releaseTag: ['v3', 'v4'],
|
|
|
|
types: ['ISSUE', 'FEATURE'],
|
2021-09-30 23:02:18 +05:30
|
|
|
myReactionEmoji: 'thumbsup',
|
2021-12-11 22:18:48 +05:30
|
|
|
confidential: true,
|
|
|
|
iterationId: ['4', '12'],
|
2021-09-30 23:02:18 +05:30
|
|
|
epicId: '12',
|
2021-06-08 01:23:25 +05:30
|
|
|
weight: '1',
|
2022-07-16 23:28:13 +05:30
|
|
|
crmContactId: '123',
|
|
|
|
crmOrganizationId: '456',
|
2023-03-17 16:20:25 +05:30
|
|
|
healthStatusFilter: 'atRisk',
|
2021-09-30 23:02:18 +05:30
|
|
|
not: {
|
|
|
|
authorUsername: 'marge',
|
|
|
|
assigneeUsernames: ['patty', 'selma'],
|
2021-12-11 22:18:48 +05:30
|
|
|
milestoneTitle: ['season 20', 'season 30'],
|
2021-09-30 23:02:18 +05:30
|
|
|
labelName: ['live action', 'drama'],
|
2021-12-11 22:18:48 +05:30
|
|
|
releaseTag: ['v20', 'v30'],
|
|
|
|
types: ['BUG', 'INCIDENT'],
|
|
|
|
myReactionEmoji: 'thumbsdown',
|
|
|
|
iterationId: ['20', '42'],
|
2021-09-30 23:02:18 +05:30
|
|
|
epicId: '34',
|
|
|
|
weight: '3',
|
2023-03-17 16:20:25 +05:30
|
|
|
healthStatusFilter: 'onTrack',
|
2021-09-30 23:02:18 +05:30
|
|
|
},
|
2023-01-13 00:05:48 +05:30
|
|
|
or: {
|
2023-03-04 22:38:38 +05:30
|
|
|
authorUsernames: ['burns', 'smithers'],
|
2023-01-13 00:05:48 +05:30
|
|
|
assigneeUsernames: ['carl', 'lenny'],
|
2023-03-17 16:20:25 +05:30
|
|
|
labelNames: ['comedy', 'sitcom'],
|
2023-01-13 00:05:48 +05:30
|
|
|
},
|
2021-06-08 01:23:25 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export const apiParamsWithSpecialValues = {
|
2021-09-30 23:02:18 +05:30
|
|
|
assigneeId: '123',
|
|
|
|
assigneeUsernames: 'bart',
|
2021-12-11 22:18:48 +05:30
|
|
|
labelName: 'None',
|
2021-09-30 23:02:18 +05:30
|
|
|
myReactionEmoji: 'None',
|
2021-12-11 22:18:48 +05:30
|
|
|
releaseTagWildcardId: 'NONE',
|
2021-09-30 23:02:18 +05:30
|
|
|
iterationWildcardId: 'CURRENT',
|
2021-10-27 15:23:28 +05:30
|
|
|
milestoneWildcardId: 'UPCOMING',
|
2021-09-30 23:02:18 +05:30
|
|
|
epicId: 'None',
|
2021-06-08 01:23:25 +05:30
|
|
|
weight: 'None',
|
2023-03-17 16:20:25 +05:30
|
|
|
healthStatusFilter: 'NONE',
|
2021-06-08 01:23:25 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export const urlParams = {
|
|
|
|
author_username: 'homer',
|
|
|
|
'not[author_username]': 'marge',
|
2023-03-04 22:38:38 +05:30
|
|
|
'or[author_username]': ['burns', 'smithers'],
|
2022-06-21 17:19:12 +05:30
|
|
|
'assignee_username[]': ['bart', 'lisa', '5'],
|
2021-06-08 01:23:25 +05:30
|
|
|
'not[assignee_username][]': ['patty', 'selma'],
|
2023-01-13 00:05:48 +05:30
|
|
|
'or[assignee_username][]': ['carl', 'lenny'],
|
2021-12-11 22:18:48 +05:30
|
|
|
milestone_title: ['season 3', 'season 4'],
|
|
|
|
'not[milestone_title]': ['season 20', 'season 30'],
|
2021-06-08 01:23:25 +05:30
|
|
|
'label_name[]': ['cartoon', 'tv'],
|
|
|
|
'not[label_name][]': ['live action', 'drama'],
|
2023-03-17 16:20:25 +05:30
|
|
|
'or[label_name][]': ['comedy', 'sitcom'],
|
2021-12-11 22:18:48 +05:30
|
|
|
release_tag: ['v3', 'v4'],
|
|
|
|
'not[release_tag]': ['v20', 'v30'],
|
|
|
|
'type[]': ['issue', 'feature'],
|
|
|
|
'not[type][]': ['bug', 'incident'],
|
2021-06-08 01:23:25 +05:30
|
|
|
my_reaction_emoji: 'thumbsup',
|
2021-12-11 22:18:48 +05:30
|
|
|
'not[my_reaction_emoji]': 'thumbsdown',
|
|
|
|
confidential: 'yes',
|
|
|
|
iteration_id: ['4', '12'],
|
|
|
|
'not[iteration_id]': ['20', '42'],
|
2021-09-30 23:02:18 +05:30
|
|
|
epic_id: '12',
|
|
|
|
'not[epic_id]': '34',
|
2021-06-08 01:23:25 +05:30
|
|
|
weight: '1',
|
|
|
|
'not[weight]': '3',
|
2022-07-16 23:28:13 +05:30
|
|
|
crm_contact_id: '123',
|
|
|
|
crm_organization_id: '456',
|
2023-03-17 16:20:25 +05:30
|
|
|
health_status: 'atRisk',
|
|
|
|
'not[health_status]': 'onTrack',
|
2021-06-08 01:23:25 +05:30
|
|
|
};
|
|
|
|
|
|
|
|
export const urlParamsWithSpecialValues = {
|
|
|
|
assignee_id: '123',
|
|
|
|
'assignee_username[]': 'bart',
|
2021-12-11 22:18:48 +05:30
|
|
|
'label_name[]': 'None',
|
|
|
|
release_tag: 'None',
|
2021-06-08 01:23:25 +05:30
|
|
|
my_reaction_emoji: 'None',
|
|
|
|
iteration_id: 'Current',
|
2021-10-27 15:23:28 +05:30
|
|
|
milestone_title: 'Upcoming',
|
2021-06-08 01:23:25 +05:30
|
|
|
epic_id: 'None',
|
|
|
|
weight: 'None',
|
2023-03-17 16:20:25 +05:30
|
|
|
health_status: 'None',
|
2021-06-08 01:23:25 +05:30
|
|
|
};
|