Shell Script
Shell script to iterate over files in a directory
It is very easy to iterate over all the files in a directory to perform bulk operations like reducing the file size of multiple videos.
#shell #ffmpeg #forloop
Random Wallpaper Shell Script
A simple shell script that I use to find a random image from a directory and change the wallpaper.
Jira REST API - Upload attachments to an Issue
Everyone wants to upload file to a Jira issue using REST API. So let us do that.
#AddAttachment #JiraRESTAPI
Endpoint: POST /rest/api/3/issue/an-232/attachments
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/addAttachment…
Shell script to show webcam, zoom in and zoom out
I found this brilliant way to show your #webcam using a #shell #script, not only that you can also #zoomin and #zoomout using nothing but a shell script.
Tom on the Internet: https://www.youtube.com/watch?v=GVTwH80DTYc
Code: https://github.com/tom-on-the-internet/webcam
Jira REST API - Shell script to delete a project
Get rid of those test projects by using a simple shell script. Let us write this together today, it will take just few minutes.
#DeleteProject #JiraRESTAPI
Endpoint: DELETE /rest/api/3/project/DEL
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/deleteProject…
Jira REST API - Shell script to delete issue
Don't delete an issue without a valid reason. A simple #shell script can delete an issue for you with all it's sub-tasks.
#UpdateIssue #JiraRESTAPI
Endpoint: DELETE /rest/api/3/issue/an-233
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/deleteIssue.sh
Jira REST API - Update issue number and text fields
You may need to update the issue as well. Let me share how to update system fields, text field and number field using #shell script of course.
#UpdateIssue #JiraRESTAPI
Endpoint: GET /rest/api/3/issue/an-233
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/editIssue.sh
Jira REST API - Create project using shell script
I am sharing my shell script that I use regularly to create a project from my terminal. I use this to create projects quickly for testing purpose. It saves lot of my time.
#CreateProject #JiraRESTAPI
Endpoint: GET /rest/api/3/project/
Code: https://github.com/sparxsys/jira-shell-scripts/blob/main/createProject…
Want to contact me?
Ravi Sagar
ravi at sparxsys dot com
Author of "Mastering JIRA 7" book. Loves #Jira and #Drupal. #Blogger, #ProblemSolver, #Atlassian #Consultant and #Technologist @ravisagar on twitter
Want my help? raise a support request for me.
Social and other Links
- RSS Feed
- Github
- @ravisagar on Twitter
- Ravi Sagar YouTube: Atlassian tools and Jira tutorials
- Ravi Sagar LBRY: Synced with Ravi Sagar YouTube
- Blackberry Boy YouTube: Linux, Emacs, Org Mode and tech tutorials
- Ravi Sagar Podcast
- @ravisagar.in on Instagram
- Ravi.pro: site published with Org Mode, general IT and tech stuff
- LinuxIndya.com: site published with Org Mode on Linux
- AutoGrid.info: site published with Org Mode on Excel VBA and Google Apps Script