new company
This commit is contained in:
@ -36,16 +36,12 @@ function myFunction() {
|
||||
|
||||
// Setting up data range and empty arrays
|
||||
const sheet = SpreadsheetApp.getActiveSheet();
|
||||
var startRow = 244; // First col of data to process
|
||||
var numRows = 450; // Number of rows to process
|
||||
var startRow = 1; // First col of data to process
|
||||
var numRows = 1132; // Number of rows to process
|
||||
var dataRange = sheet.getRange(startRow, 1, numRows, sheet.getLastColumn()).getValues();
|
||||
var data = dataRange.filter(function(r){
|
||||
return r.join("").length>0;
|
||||
});
|
||||
var sdr = "";
|
||||
|
||||
for (i in data) { // For a data col within the entire data range
|
||||
var col = data[i];
|
||||
for (col in dataRange) { // For a data col within the entire data range
|
||||
var col = dataRange[col];
|
||||
let sdr = col[0]; // Column - A
|
||||
let name = col[1]; // Column - B
|
||||
let rawDate = Utilities.formatDate(col[3], 'America/New_York', 'yyyy-MM-dd');
|
||||
@ -70,14 +66,14 @@ function myFunction() {
|
||||
"Quba" :
|
||||
"62101fe4e41f76006a6f6510",
|
||||
};
|
||||
if (list.includes("Norm")) {
|
||||
if (list.includes("Unqork")) {
|
||||
var data = {
|
||||
"fields": {
|
||||
"project": {
|
||||
"key": "NORMPIPE",
|
||||
"key": "NPIPE",
|
||||
},
|
||||
"issuetype": {
|
||||
"id": "10268",
|
||||
"id": "10071",
|
||||
},
|
||||
"summary": list[5],
|
||||
"description": {
|
||||
@ -99,11 +95,11 @@ function myFunction() {
|
||||
],
|
||||
},
|
||||
"customfield_10015": list[2], // Start (Meeting) Date - rawDate
|
||||
"customfield_10120": [ // Campaign
|
||||
"customfield_10127": [ // Campaign
|
||||
list[8]
|
||||
],
|
||||
"customfield_10122": [{"id" : sdrDict[list[0]]}], // SDR
|
||||
"customfield_10121": [ // Channel
|
||||
"customfield_10129": [{"id" : sdrDict[list[0]]}], // SDR
|
||||
"customfield_10128": [ // Channel
|
||||
list[6]
|
||||
],
|
||||
}
|
||||
|
||||
@ -0,0 +1,6 @@
|
||||
{% styles default %}
|
||||
{% styles colors %}
|
||||
{% styles custom %}
|
||||
<style>
|
||||
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
|
||||
</style>
|
||||
@ -0,0 +1,7 @@
|
||||
@font-face {
|
||||
font-family: 'Lato' !important;
|
||||
src: url('https://fonts.googleapis.com/css2?family=Lato:wght@300&display=swap');
|
||||
}
|
||||
body, html, div {
|
||||
font-family: 'Lato' !important;
|
||||
}
|
||||
Reference in New Issue
Block a user