{"id":27767864,"url":"https://github.com/boh717/jitlab","last_synced_at":"2025-04-29T19:53:37.599Z","repository":{"id":145859197,"uuid":"350638356","full_name":"boh717/jitlab","owner":"boh717","description":"Integrating Jira and GitLab for faster developers’ workflow","archived":false,"fork":false,"pushed_at":"2021-06-03T07:41:42.000Z","size":72,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-29T19:53:33.686Z","etag":null,"topics":["agile","agile-development","developer-tools","gitlab","golang","jira","kanban","scrum"],"latest_commit_sha":null,"homepage":"","language":"Go","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/boh717.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":"2021-03-23T08:41:40.000Z","updated_at":"2021-06-03T07:41:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"72bcb272-9756-4609-8ca0-25bf6bec89c5","html_url":"https://github.com/boh717/jitlab","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boh717%2Fjitlab","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boh717%2Fjitlab/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boh717%2Fjitlab/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/boh717%2Fjitlab/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/boh717","download_url":"https://codeload.github.com/boh717/jitlab/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251574675,"owners_count":21611387,"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":["agile","agile-development","developer-tools","gitlab","golang","jira","kanban","scrum"],"created_at":"2025-04-29T19:53:36.970Z","updated_at":"2025-04-29T19:53:37.589Z","avatar_url":"https://github.com/boh717.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"After implementing [this project in Python](https://github.com/boh717/jitab), I decided to learn Go and see what I could come up with. The result is quite satisfactory (not perfect though).\n\n## Configuration Prerequisites\n\nStart with the following json file (e.g. ~/.jitlab.json)\n\n```json\n{\n  \"gitlab\": {\n    \"baseurl\": \u003cgitlab-url\u003e,\n    \"groupid\": \u003cgitlab-group-id\u003e,\n    \"token\": \u003cgitlab-token\u003e\n  },\n  \"jira\": {\n    \"baseurl\": \u003cjira-url\u003e,\n    \"token\": \u003cjira-token\u003e,\n    \"username\": \u003cjira-username\u003e\n  },\n  \"branchPrefix\": \u003cyour-branch-prefix\u003e,\n  \"branchSuffix\": \u003cyour-branch-suffix\u003e,\n  \"keyCommitSeparator\": \u003cyour-separator\u003e\n}\n```\n\nwhere:\n- `\u003cgitlab-token\u003e` is a token with `api` permissions and you can issue one here https://gitlab.com/profile/personal_access_tokens (or similar URL if you are on-premise)\n- `\u003cgitlab-group-id\u003e` is the ID of the group your project belongs to\n- `\u003cjira-token\u003e` can be issued here: https://id.atlassian.com/manage-profile/security/api-tokens\n- `branchPrefix` is what you want to be *prefixed* to every branch you create\n- `branchSuffix` is what you want to be *appended* to every branch you create\n- `keyCommitSeparator` is what you want to separate the jira key and your commit message\n\n## Board Prerequisites\n\nJitlab works with both kanban and scrum workflows, but on jira there's a third board type (`simple`) which screws things up.\n\nA `simple` board can be both... And its purpose is to help people setting up boards fast. \n\nJitlab treats by default `kanban` and `simple` the same way, but if you're using `scrum` workflow and your team's board is `simple`, then jitlab won't work.\n\nIn future releases I may fix this problem or simply ask to change your board type to `scrum`.\n\n## Configuration\n\nOnce you fulfilled all the requirements, start using jitlab by configuring it.\n\nRun `jitlab config` and follow the questions you'll be asked. You should run this command only once (or if you change the board).\n\nYour `.jitlab.json` will be updated.\n\n## Project init\n\nEvery project you want to use jitlab with should be initialized.\n\nRun `jitlab init` to do it. This will create a local `.repo` file with the project information.\nFor example:\n```json\n{\n    \"id\": 12345678,\n    \"name\": \"Jitlab\",\n    \"description\": \"An awesome tool\",\n    \"path\": \"jitlab\"\n}\n```\n\n## Working on tasks\n\nJitlab will read issues from jira and will create a local git branch according to the jira task title.\n\nUse `jitlab new` to pick up tasks from your chosen columns.\n\nBranches will follow this naming convention `\u003cyour-prefix\u003eTEST-12-your-branch-title\u003cyour-suffix\u003e`.\n\n## Pushing changes\n\nJitlab supports `git commit` and will automatically prefix the message with the jira key. One example could be `TEST-12: awesome message` where `:` is your chosen key commit separator.\n\nRun `jitlab commit -m 'awesome message'`\n\n## Creating merge request\n\nOnce you're happy with your changes, you can create the merge request issuing `jitlab mr`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboh717%2Fjitlab","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fboh717%2Fjitlab","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fboh717%2Fjitlab/lists"}