mirror of
https://github.com/DarthKilroy/Spot.git
synced 2026-02-14 06:30:08 +00:00
Add create jira bug
This commit is contained in:
parent
6c8cf194a7
commit
1a7822ea69
13 changed files with 418 additions and 97 deletions
46
utils/jira.ts
Normal file
46
utils/jira.ts
Normal file
|
|
@ -0,0 +1,46 @@
|
|||
export const getJiraToken = () => {
|
||||
const token = Buffer.from(`${process.env.jiramail}:${process.env.jiratoken}`).toString('base64')
|
||||
return `Basic ${token}`
|
||||
}
|
||||
|
||||
export const frequencies = [
|
||||
{
|
||||
label: "Everytime (everyone)",
|
||||
value: "10023"
|
||||
},
|
||||
{
|
||||
label: "Sometimes (everyone)",
|
||||
value: "10024"
|
||||
},
|
||||
{
|
||||
label: "Everytime (some)",
|
||||
value: "10025"
|
||||
},
|
||||
{
|
||||
label: "Everyime/Always (one user)",
|
||||
value: "10027"
|
||||
}
|
||||
]
|
||||
|
||||
export const severites = [
|
||||
{
|
||||
label: "Unusable",
|
||||
value: "10028"
|
||||
},
|
||||
{
|
||||
label: "Gray screen",
|
||||
value: "10030"
|
||||
}
|
||||
, {
|
||||
label: "Data",
|
||||
value: "10032"
|
||||
},
|
||||
{
|
||||
label: "Malfunctioning",
|
||||
value: "10033"
|
||||
},
|
||||
{
|
||||
label: "Layout Issue",
|
||||
value: "10034"
|
||||
}
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue