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
- Host: GitHub
- URL: https://github.com/harisekhon/tampermonkey
- Owner: HariSekhon
- License: mit
- Created: 2024-11-19T12:39:45.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-01-27T13:17:35.000Z (8 months ago)
- Last Synced: 2025-01-27T14:28:43.143Z (8 months ago)
- Language: Shell
- Size: 81.1 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Hari Sekhon - TamperMonkey Scripts
[](https://github.com/HariSekhon/TamperMonkey/stargazers)
[](https://github.com/HariSekhon/TamperMonkey/network)
[](https://github.com/HariSekhon/TamperMonkey#Hari-Sekhon---TamperMonkey)
[](https://github.com/HariSekhon/TamperMonkey/blob/master/LICENSE)
[](https://www.linkedin.com/in/HariSekhon/)
[](https://github.com/HariSekhon/TamperMonkey/commits/master)[](https://app.codacy.com/gh/HariSekhon/TamperMonkey/dashboard)
[](https://www.codefactor.io/repository/github/harisekhon/TamperMonkey)
[](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)
[](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)
[](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)
[](https://sonarcloud.io/dashboard?id=HariSekhon_TamperMonkey)[](https://www.tampermonkey.net/)
[](#readme)
[](https://github.com/HariSekhon/DevOps-Bash-tools#hari-sekhon---devops-bash-tools)
[](https://github.com/HariSekhon/DevOps-Bash-tools#hari-sekhon---devops-bash-tools)[](https://harisekhon.github.io/CI-CD/)
[](https://github.com/HariSekhon/TamperMonkey)
[](https://gitlab.com/HariSekhon/TamperMonkey)
[](https://dev.azure.com/HariSekhon/GitHub/_git/TamperMonkey)
[](https://bitbucket.org/HariSekhon/TamperMonkey)[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/eslint.yaml)
[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/validate.yaml)
[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/kics.yaml)
[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/grype.yaml)
[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/semgrep.yaml)
[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/semgrep-cloud.yaml)
[](https://github.com/HariSekhon/TamperMonkey/actions/workflows/sonarcloud.yaml)
[](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
[](https://github.com/HariSekhon/Knowledge-Base)
[](https://github.com/HariSekhon/Diagrams-as-Code)
### DevOps Code
[](https://github.com/HariSekhon/DevOps-Bash-tools)
[](https://github.com/HariSekhon/DevOps-Python-tools)
[](https://github.com/HariSekhon/DevOps-Perl-tools)
[](https://github.com/HariSekhon/DevOps-Golang-tools)
### Containerization
[](https://github.com/HariSekhon/Kubernetes-configs)
[](https://github.com/HariSekhon/Dockerfiles)
### CI/CD
[](https://github.com/HariSekhon/GitHub-Actions)
[](https://github.com/HariSekhon/Jenkins)
### DBA - SQL
[](https://github.com/HariSekhon/SQL-scripts)
### DevOps Reloaded
[](https://github.com/HariSekhon/Nagios-Plugins)
[](https://github.com/HariSekhon/HAProxy-configs)
[](https://github.com/HariSekhon/Terraform)
[](https://github.com/HariSekhon/Packer-templates)
[](https://github.com/HariSekhon/Nagios-Plugin-Kafka)
### Templates
[](https://github.com/HariSekhon/Templates)
[](https://github.com/HariSekhon/Template-repo)
### Misc
[](https://github.com/HariSekhon/Spotify-tools)
[](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/).
