An open API service indexing awesome lists of open source software.

https://github.com/harisekhon/tampermonkey

TamperMonkey Scripts - eg. auto-fill Jira ticket description field to meet Agile requirements
https://github.com/harisekhon/tampermonkey

Last synced: 2 months ago
JSON representation

TamperMonkey Scripts - eg. auto-fill Jira ticket description field to meet Agile requirements

Awesome Lists containing this project

README

          

# Hari Sekhon - TamperMonkey Scripts

[![GitHub stars](https://img.shields.io/github/stars/HariSekhon/TamperMonkey?logo=github)](https://github.com/HariSekhon/TamperMonkey/stargazers)
[![GitHub forks](https://img.shields.io/github/forks/HariSekhon/TamperMonkey?logo=github)](https://github.com/HariSekhon/TamperMonkey/network)
[![Lines of Code](https://img.shields.io/badge/lines%20of%20code-1k-lightgrey?logo=codecademy)](https://github.com/HariSekhon/TamperMonkey#Hari-Sekhon---TamperMonkey)
[![License](https://img.shields.io/badge/license-MIT-green)](https://github.com/HariSekhon/TamperMonkey/blob/master/LICENSE)
[![My LinkedIn](https://img.shields.io/badge/LinkedIn%20Profile-HariSekhon-blue?logo=data:image/svg%2bxml;base64,PHN2ZyByb2xlPSJpbWciIGZpbGw9IiNmZmZmZmYiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48dGl0bGU+TGlua2VkSW48L3RpdGxlPjxwYXRoIGQ9Ik0yMC40NDcgMjAuNDUyaC0zLjU1NHYtNS41NjljMC0xLjMyOC0uMDI3LTMuMDM3LTEuODUyLTMuMDM3LTEuODUzIDAtMi4xMzYgMS40NDUtMi4xMzYgMi45Mzl2NS42NjdIOS4zNTFWOWgzLjQxNHYxLjU2MWguMDQ2Yy40NzctLjkgMS42MzctMS44NSAzLjM3LTEuODUgMy42MDEgMCA0LjI2NyAyLjM3IDQuMjY3IDUuNDU1djYuMjg2ek01LjMzNyA3LjQzM2MtMS4xNDQgMC0yLjA2My0uOTI2LTIuMDYzLTIuMDY1IDAtMS4xMzguOTItMi4wNjMgMi4wNjMtMi4wNjMgMS4xNCAwIDIuMDY0LjkyNSAyLjA2NCAyLjA2MyAwIDEuMTM5LS45MjUgMi4wNjUtMi4wNjQgMi4wNjV6bTEuNzgyIDEzLjAxOUgzLjU1NVY5aDMuNTY0djExLjQ1MnpNMjIuMjI1IDBIMS43NzFDLjc5MiAwIDAgLjc3NCAwIDEuNzI5djIwLjU0MkMwIDIzLjIyNy43OTIgMjQgMS43NzEgMjRoMjAuNDUxQzIzLjIgMjQgMjQgMjMuMjI3IDI0IDIyLjI3MVYxLjcyOUMyNCAuNzc0IDIzLjIgMCAyMi4yMjIgMGguMDAzeiIvPjwvc3ZnPgo=)](https://www.linkedin.com/in/HariSekhon/)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/HariSekhon/TamperMonkey?logo=github)](https://github.com/HariSekhon/TamperMonkey/commits/master)

[![Codacy Badge](https://app.codacy.com/project/badge/Grade/901fe97abaf3432f89e7dc60a756637d)](https://app.codacy.com/gh/HariSekhon/TamperMonkey/dashboard)
[![CodeFactor](https://www.codefactor.io/repository/github/harisekhon/TamperMonkey/badge)](https://www.codefactor.io/repository/github/harisekhon/TamperMonkey)
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_TamperMonkey&metric=alert_status)](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)
[![Maintainability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_TamperMonkey&metric=sqale_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)
[![Reliability Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_TamperMonkey&metric=reliability_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)
[![Security Rating](https://sonarcloud.io/api/project_badges/measure?project=HariSekhon_TamperMonkey&metric=security_rating)](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)

[![TamperMonkey](https://img.shields.io/badge/Tamper-Monkey-blue?logo=tampermonkey&logoColor=white)](https://www.tampermonkey.net/)
[![JavaScript](https://img.shields.io/badge/JavaScript-V8-blue?logo=javascript&logoColor=white)](#readme)
[![Linux](https://img.shields.io/badge/OS-Linux-blue?logo=linux)](https://github.com/HariSekhon/DevOps-Bash-tools#hari-sekhon---devops-bash-tools)
[![Mac](https://img.shields.io/badge/OS-Mac-blue?logo=apple)](https://github.com/HariSekhon/DevOps-Bash-tools#hari-sekhon---devops-bash-tools)

[![CI Builds Overview](https://img.shields.io/badge/CI%20Builds-Overview%20Page-blue?logo=circleci)](https://harisekhon.github.io/CI-CD/)
[![Repo on GitHub](https://img.shields.io/badge/repo-GitHub-2088FF?logo=github)](https://github.com/HariSekhon/TamperMonkey)
[![Repo on GitLab](https://img.shields.io/badge/repo-GitLab-FCA121?logo=gitlab)](https://gitlab.com/HariSekhon/TamperMonkey)
[![Repo on Azure DevOps](https://img.shields.io/badge/repo-Azure%20DevOps-0078D7?logo=azure%20devops)](https://dev.azure.com/HariSekhon/GitHub/_git/TamperMonkey)
[![Repo on BitBucket](https://img.shields.io/badge/repo-BitBucket-0052CC?logo=bitbucket)](https://bitbucket.org/HariSekhon/TamperMonkey)

[![EsLint](https://github.com/HariSekhon/TamperMonkey/actions/workflows/eslint.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/eslint.yaml)
[![Validation](https://github.com/HariSekhon/TamperMonkey/actions/workflows/validate.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/validate.yaml)
[![Kics](https://github.com/HariSekhon/TamperMonkey/actions/workflows/kics.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/kics.yaml)
[![Grype](https://github.com/HariSekhon/TamperMonkey/actions/workflows/grype.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/grype.yaml)
[![Semgrep](https://github.com/HariSekhon/TamperMonkey/actions/workflows/semgrep.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/semgrep.yaml)
[![Semgrep Cloud](https://github.com/HariSekhon/TamperMonkey/actions/workflows/semgrep-cloud.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/semgrep-cloud.yaml)
[![SonarCloud](https://github.com/HariSekhon/TamperMonkey/actions/workflows/sonarcloud.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/sonarcloud.yaml)
[![Trivy](https://github.com/HariSekhon/TamperMonkey/actions/workflows/trivy.yaml/badge.svg)](https://github.com/HariSekhon/TamperMonkey/actions/workflows/trivy.yaml)

## TamperMonkey Scripts

Copy and paste these scripts into your
[TamperMonkey](https://www.tampermonkey.net/)
browser extension to customize your browsing experience.

See the
[Knowlege-Base - TamperMonkey](https://github.com/HariSekhon/Knowledge-Base/blob/main/tampermonkey.md)
page for more general TamperMonkey info.

### Install

#### Option 1 - Copy & Paste

Copy and paste the raw code into a new script in TamperMonkey.

Use the `Raw` button on on the top right of the file to copy from.

#### Option 2 - Import from URL

In TamperMonkey settings, go to `Utilies` at the top right,
then at the bottom of that page see `Import from URL`.

Paste the _Raw_ URL to the script into the box and click `Install`.

Raw URL looks like this, which can be obtained from the `Raw` button at the top right of the file on GitHub:

### Jira Description Autofill

[jira_description_autofill.js](https://github.com/HariSekhon/TamperMonkey/blob/main/jira_description_autofill.js)

Autofills the Jira ticket description field with HTML contents that you can then edit natively in the Jira UI.

Does not overwrite any already populated description for safety.

For Jira tickets with existing descriptions you can `Ctrl-x` / `Cmd-x` to cut your content out
and press any key in the description box to trigger the script to fill in the description boilerplate text
and then paste your content back in and tweak it.

You can edit the `const descriptionHTML =
` line of code near the top to suit your tastes, currently it renders in the Jira UI as:

Summary


As a platform engineer

I want ...

So that ...


Acceptance Criteria



  • Criteria one...


  • Criteria two...



Engineering Notes & References



  • Put Notes here


  • Record design decisions


  • URLs to references and relevant docs



## Troubleshooting

If the script isn't triggering, check you have copied & pasted it entirely correctly.

On one occasion, no scripts were triggering, and the solution was to remote the TamperMonkey Chrome extension and then
re-add it fresh and then install the script back in again.

There was nothing wrong with the code itself, which is revision controlled and hadn't changed.

See the
[Knowledge-Base - TamperMonkey Troubleshooting section](https://github.com/HariSekhon/TamperMonkey#troubleshooting)
for more details.


## More Core Repos

### Knowledge

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Knowledge-Base&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Knowledge-Base)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Diagrams-as-Code&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Diagrams-as-Code)

### DevOps Code

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Bash-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Bash-tools)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Python-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Python-tools)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Perl-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Perl-tools)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=DevOps-Golang-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/DevOps-Golang-tools)

### Containerization

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Kubernetes-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Kubernetes-configs)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Dockerfiles&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Dockerfiles)

### CI/CD

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=GitHub-Actions&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/GitHub-Actions)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Jenkins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Jenkins)

### DBA - SQL

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=SQL-scripts&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/SQL-scripts)

### DevOps Reloaded

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugins&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugins)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=HAProxy-configs&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/HAProxy-configs)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Terraform&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Terraform)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Packer-templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Packer-templates)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Nagios-Plugin-Kafka&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Nagios-Plugin-Kafka)

### Templates

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Templates&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Templates)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Template-repo&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Template-repo)

### Misc

[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-tools&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-tools)
[![Readme Card](https://github-readme-stats.vercel.app/api/pin/?username=HariSekhon&repo=Spotify-playlists&theme=ambient_gradient&description_lines_count=3)](https://github.com/HariSekhon/Spotify-playlists)

The rest of my original source repos are
[here](https://github.com/HariSekhon?tab=repositories&q=&type=source&language=&sort=stargazers).

Pre-built Docker images are available on my [DockerHub](https://hub.docker.com/u/harisekhon/).

![](https://hit.yhype.me/github/profile?user_id=2211051)