{"id":22781177,"url":"https://github.com/sebaplaza/jicli","last_synced_at":"2025-04-15T16:23:18.149Z","repository":{"id":91474221,"uuid":"445661118","full_name":"sebaplaza/jicli","owner":"sebaplaza","description":"Simple JIRA client to add worklog time to an issue","archived":false,"fork":false,"pushed_at":"2022-04-06T18:25:37.000Z","size":59,"stargazers_count":7,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2023-10-20T23:01:29.541Z","etag":null,"topics":["api","client","jira","rust","worklog"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/sebaplaza.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}},"created_at":"2022-01-07T21:49:12.000Z","updated_at":"2023-03-10T09:19:06.000Z","dependencies_parsed_at":"2023-07-17T04:17:07.305Z","dependency_job_id":null,"html_url":"https://github.com/sebaplaza/jicli","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebaplaza%2Fjicli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebaplaza%2Fjicli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebaplaza%2Fjicli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebaplaza%2Fjicli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebaplaza","download_url":"https://codeload.github.com/sebaplaza/jicli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229291899,"owners_count":18050238,"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":["api","client","jira","rust","worklog"],"created_at":"2024-12-11T21:06:50.403Z","updated_at":"2024-12-11T21:06:50.990Z","avatar_url":"https://github.com/sebaplaza.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JICLI\n\nRust JIRA client\n\nThis is a simple JIRA client to helps to add worklog times into an issue.\n\n[Crates](https://crates.io/crates/jicli)\n\n## Requirements\n\nYou must a have rust tools ([rustup](https://rustup.rs/)) installed\n\n\n## Install jicli via cargo\n\n```sh\ncargo install jicli\n```\n\n## How to use it ?\n\nSet these 3 environnements variables\n\n```sh\nexport JIRA_URL=https://my-jira.com\nexport JIRA_USER=my_user\nexport JIRA_PASSWORD=my_password\n```\n\nThen launch the client\n\nex: add 1 day into issue JIRA-362\n\n```sh\njicli --issue JIRA-362 --time 1d\n```\n\nTo know all possible options\n\n```shell\njicli --help\n```\n\n## Integrations\n\nFor example, if your git brach includes the issue reference, you could write a shell function to deal with it automatically.\n\nIf your git branch looks like `feat/JIRA-234-my-awesome-feature` , you can write a bash function like this\n\nAdd this to your `~/.bashrc` or `~/.zshrc`\n\n```bash\n# jira time function\n# ex: jt 1h   (to add one hour to ticket)\nfunction jt() {\n  # extract jira ticket from branch and add worklog time\n  jicli --time $1 --issue $(git branch --show-current --no-color | grep  -Po '[A-Z]+-[0-9]+')\n}\n```\n\nThen, use it like this:\n\n```sh\n# add 1 day to issue JIRA-234\njt 1d\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebaplaza%2Fjicli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebaplaza%2Fjicli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebaplaza%2Fjicli/lists"}