{"id":25198064,"url":"https://github.com/MadTinker/gittickets","last_synced_at":"2026-01-19T01:33:08.693Z","repository":{"id":149879577,"uuid":"588382864","full_name":"DanEdens/gittickets","owner":"DanEdens","description":"Keep track of your Jira Tickets with a repo, Run bitbucket agent on whatever schedule works for you, and it will auto tag the date every monday between 6 and 7 am.  I intend to use it to help keep track of my timesheet","archived":false,"fork":false,"pushed_at":"2023-01-13T15:40:06.000Z","size":35,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-10T02:41:21.412Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanEdens.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-01-13T01:26:52.000Z","updated_at":"2023-03-04T18:00:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9a78d0a-d1a6-4ad2-8517-0362bc993c19","html_url":"https://github.com/DanEdens/gittickets","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fgittickets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fgittickets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fgittickets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanEdens%2Fgittickets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanEdens","download_url":"https://codeload.github.com/DanEdens/gittickets/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247217221,"owners_count":20903009,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-10T02:40:41.663Z","updated_at":"2026-01-19T01:33:08.655Z","avatar_url":"https://github.com/DanEdens.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Jira Board Status Update\n\nThis repository contains scripts for pulling the status of a board's Jira tickets, committing the information to a git repository, and creating a tag with the current date in format `YYYY-MM-DD` every Monday between 6 and 7 am.\n\n## Bash Script\n```bash\n#!/bin/bash\n\nJIRA_USERNAME=\"your_username\"\nJIRA_API_TOKEN=\"your_api_token\"\nBOARD_ID=\"your_board_id\"\n\ncurl --user \"$JIRA_USERNAME:$JIRA_API_TOKEN\" -X GET \"https://your_jira_url/rest/agile/1.0/board/$BOARD_ID/issue?fields=status\" \u003e jira_board_status.json\n\ngit add jira_board_status.json\ngit commit -m \"Update Jira board status\"\ngit push\n\nif [ \"$(date +%A)\" == \"Monday\" ] \u0026\u0026 [ \"$(date +%H)\" -ge \"6\" ] \u0026\u0026 [ \"$(date +%H)\" -lt \"7\" ]; then\n    git tag $(date +%Y-%m-%d)\n    git push --tags\nfi\n\n```\n\nThis script uses curl command to make a REST call to Jira and retrieve the status of the board, and stores the response in a file jira_board_status.json. Then it uses git command to commit the file jira_board_status.json to the git repository and push it to the remote. Finally, it uses if statement with date command to check if the current day is Monday, and the hour is between 6 and 7 am, if so, it creates a tag with the current date in format YYYY-MM-DD and pushes it to the remote repository.\n\nYou will need to replace the values of JIRA_USERNAME, JIRA_API_TOKEN, BOARD_ID, https://your_jira_url with your own information.\n\n\n\n# Jenkinsfile\n\nif you want to use the Jenkinsfile, you will need to have a Jenkins server set up with the git and pipeline plugins installed and configured. Also, you will need to replace the values of JIRA_USERNAME, JIRA_API_TOKEN, BOARD_ID, and GIT_REPO_URL with your own information. Also, the user running this Jenkinsfile needs to have permission to create a tag and push it to the remote repository.\n\n\n\n# Github Action\n\nAnd, if you want to use the GitHub Actions workflow you will need to create a workflow file in your repository .github/workflows/jira-board-status-update.yml and replace the values of JIRA_USERNAME, JIRA_API_TOKEN, BOARD_ID, OWNER, REPO, BRANCH, https://your_jira_url with your own information and also make sure to set the secrets for the variables in your repository settings.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMadTinker%2Fgittickets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMadTinker%2Fgittickets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMadTinker%2Fgittickets/lists"}