This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onOpen() { | |
| SpreadsheetApp.getUi() | |
| .createMenu('Atlassian Tools') | |
| .addItem('Stage 1: Create Cloud/DC sheets from selection', 'createCloudDcSheetsFromSelection') | |
| .addItem('Stage 2: Build consolidated comparison', 'buildComparisonFromCloudDcSheets') | |
| .addToUi(); | |
| } | |
| /** | |
| * Stage 1: For each selected addon key, create two sheets: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function onOpen() { | |
| SpreadsheetApp.getUi() | |
| .createMenu('Atlassian Tools') | |
| .addItem('Stage 1: Create Cloud/DC sheets from selection', 'createCloudDcSheetsFromSelection') | |
| .addItem('Stage 2: Build consolidated comparison', 'buildComparisonFromCloudDcSheets') | |
| .addToUi(); | |
| } | |
| /** | |
| * Stage 1: For each selected addon key, create two sheets: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| WITH board_base AS ( | |
| SELECT | |
| rv."ID" AS board_id, | |
| rv."NAME" AS board_name, | |
| CASE | |
| WHEN EXISTS ( | |
| SELECT 1 | |
| FROM "AO_60DB71_SPRINT" s | |
| WHERE s."RAPID_VIEW_ID" = rv."ID" | |
| ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| javascript:(function(){function e(e){const t=document.createElement("span");t.textContent="✂️",t.className="scissors-copy-icon",t.style.marginLeft="6px",t.style.cursor="pointer",t.style.fontSize="90%",t.style.verticalAlign="middle",t.style.opacity="0.3",t.style.filter="grayscale(100%)",t.title=`Copy ${e} to clipboard`,t.onclick=n=>{n.stopPropagation(),navigator.clipboard.writeText(e).then(()=>{t.textContent="✅",t.style.opacity="0.6",t.style.filter="none",setTimeout(()=>{t.textContent="✂️",t.style.opacity="0.3",t.style.filter="grayscale(100%)"},1500)}).catch(e=>{console.error("Clipboard copy failed",e)})};return t}function t(){const t=document.querySelector('[data-testid="issue.views.issue-base.foundation.breadcrumbs.breadcrumb-current-issue-container"]');if(t&&!t.querySelector(".scissors-copy-icon")){const n=t.textContent.trim(),i=e(n);i.style.display="none",t.appendChild(i),t.addEventListener("mouseenter",()=>i.style.display="inline"),t.addEventListener("mouseleave",()=>i.style.display="none")}document.query |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function () { | |
| function addCopyButton(container, keyText) { | |
| // Prevent duplicate buttons | |
| if (container.querySelector('.copy-issue-key-btn')) return; | |
| const button = document.createElement('button'); | |
| button.textContent = 'Copy'; | |
| button.className = 'copy-issue-key-btn'; | |
| button.style.marginLeft = '8px'; | |
| button.style.cursor = 'pointer'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { useState } from 'react'; | |
| const products = ["Coffee mugs", "Socks", "Blankets", "Water bottles", "Pillows", "Pens", "Notebooks", "Sunglasses", "Hats", "Belts", "Flashlights", "Soap bars", "Lip balm", "Candles", "Umbrellas", "Towels", "Backpacks", "T-shirts", "Hoodies", "Shoes", "Gloves", "Toothpaste", "Laundry detergent", "Keychains", "Phone cases", "Chargers", "Headphones", "Lunchboxes", "Tote bags", "Thermos bottles", "Sticky notes", "Pet collars", "Picture frames", "Cutting boards", "Watches", "Aprons", "Scarves", "Calendars", "Wallets", "Coasters", "Mouse pads", "Door mats", "Shower curtains", "Dish soap", "Magnets", "Yoga mats", "Luggage tags", "Nail clippers", "Hand sanitizer", "Bandages", "Flash drives", "Journals", "Tea kettles", "Measuring cups", "Ice trays", "Spray bottles", "Oven mitts", "Travel pillows", "Reading lamps", "Sleeping masks", "Magnifying glasses", "Staplers", "Tape dispensers", "Paintbrushes", "USB cables", "Alarm clocks", "Scissors", "Tweezers", "Gardening gloves", "B |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import os | |
| import re | |
| import json | |
| def extract_jira_steps(jenkinsfile_content): | |
| """ | |
| Extracts usage of deprecated jira-steps from a Jenkinsfile. | |
| Returns a dict mapping step name to parameter dicts. | |
| """ | |
| jira_steps = ["jiraAddComment", "jiraTransitionIssue", "jiraNewIssue"] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| from jira import JIRA | |
| # Configuration for both instances | |
| DC_SERVER = 'https://your-datacenter-jira-instance.com' | |
| DC_API_TOKEN = 'your_dc_api_token' | |
| DC_EMAIL = 'your_dc_email@example.com' | |
| CLOUD_SERVER = 'https://your-cloud-jira-instance.atlassian.net' | |
| CLOUD_API_TOKEN = 'your_cloud_api_token' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import csv | |
| from jira import JIRA | |
| # Configuration for both instances | |
| DC_SERVER = 'https://your-datacenter-jira-instance.com' | |
| DC_API_TOKEN = 'your_dc_api_token' | |
| DC_EMAIL = 'your_dc_email@example.com' | |
| CLOUD_SERVER = 'https://your-cloud-jira-instance.atlassian.net' | |
| CLOUD_API_TOKEN = 'your_cloud_api_token' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import configparser | |
| import time | |
| from collections import defaultdict | |
| # Load config | |
| config = configparser.ConfigParser() | |
| config.read("config/config.properties") | |
| JIRA_SERVER = config.get("jira", "server") | |
| JIRA_USER = config.get("jira", "username") |
NewerOlder