Skip to content

Instantly share code, notes, and snippets.

View sureshdhakal's full-sized avatar
💭
I may be slow to respond.

Suresh Dhakal sureshdhakal

💭
I may be slow to respond.
View GitHub Profile
// This script takes the user inputs from the Google Form, and will create a JIRA issue when the form is submitted via the REST API
// Takes user input info, and passes it into an event parameter "e"
// v1.1.0
function createIssue() {
const token = "get jira personal token";
const reporter = "get jira reporter id";
const projectKeyId = "get projectkey Id";
const projectKey = "get projectkey";
@sureshdhakal
sureshdhakal / product-format.json
Last active July 21, 2021 03:25
product-format
{
"version": "0",
"id": "7dd0387d-f83e-a05d-b9bc-8adabc7dda0c",
"detail-type": "product.update",
"source": "co.pmlo.henry.staging",
"account": "207606013102",
"time": "2021-07-21T02:48:27Z",
"region": "ap-southeast-1",
"resources": [],
"detail": {
WMSCancelStatusSync got 1 records from NetSuite
Start RMAStatusSync
RMAStatusSync got 16 records from NetSuite
Start InvoiceNumberSync
InvoiceNumberSync got 1 records from NetSuite
Start ProcessApolloStatusUpdate
Start CustomerIdSync
CustomerIdSync got 4 records from NetSuite
Start ItemFulfillmentStatusSync
ItemFulfillmentStatusSync got 24 records from NetSuite