{"id":21993438,"url":"https://github.com/sergiopvilar/gitlab-webhook-youtrack-js","last_synced_at":"2026-05-11T06:02:51.673Z","repository":{"id":17031490,"uuid":"19795651","full_name":"sergiopvilar/gitlab-webhook-youtrack-js","owner":"sergiopvilar","description":"A webhook to change the state of your issues on Youtrack based on commits and branch names in merge requests","archived":false,"fork":false,"pushed_at":"2014-05-15T01:01:43.000Z","size":144,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-28T10:20:01.608Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergiopvilar.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-14T20:46:42.000Z","updated_at":"2014-05-15T01:01:44.000Z","dependencies_parsed_at":"2022-09-13T15:27:43.828Z","dependency_job_id":null,"html_url":"https://github.com/sergiopvilar/gitlab-webhook-youtrack-js","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/sergiopvilar%2Fgitlab-webhook-youtrack-js","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiopvilar%2Fgitlab-webhook-youtrack-js/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiopvilar%2Fgitlab-webhook-youtrack-js/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergiopvilar%2Fgitlab-webhook-youtrack-js/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergiopvilar","download_url":"https://codeload.github.com/sergiopvilar/gitlab-webhook-youtrack-js/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245052649,"owners_count":20553162,"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":"2024-11-29T20:16:56.646Z","updated_at":"2026-05-11T06:02:46.652Z","avatar_url":"https://github.com/sergiopvilar.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"gitlab-webhook-youtrack-js\n==========================\n\nA [Gitlab](https://www.gitlab.com/) webhook to change the state of your issues on [Jetbrains Youtrack](http://www.jetbrains.com/youtrack/) based on commits and branch names in merge requests.\n\n### Installing\n\nJust run:\n\n\tnpm install\n\n### Running the service\n\nJust run:\n\n\tnode app.js\n\t\n### Configure\n\nFirst you need to setup your credentials and your Youtrack Path, open the file `routes/index.js` and change the value of `auth`:\n\n```javascript\nauth: {\n\turl: 'http://YOUTRACK_URL/rest/',\n\tlogin: 'YOUTRACK_USERNAME',\n\tpassword: 'YOUTRACK_PASSWORD'\n},\n```\n\n#### Rules\n\nYou can specify rules for specified types of issues and states, change the `rules` attribute in `routes/index.js`:\n\n```javascript\nrules: [\n\t{\n\t\ttype: 'Bug',\n\t\tstates: [\n\t\t\t{begin: 'Submitted', final: 'Fixed'},\n\t\t\t{begin: 'Opened', final: 'Fixed'},\n\t\t\t{begin: 'In progress', final: 'Fixed'}\n\t\t]\n\t},\n\t{\n\t\ttype: 'Task',\n\t\tstates: [\n\t\t\t{begin: 'In progress', final: 'To verify'}\t\t\t\t\t\n\t\t]\n\t}\n]\n```\n\nThe `begin` is the initial state that the issue must be and the `final` is the state that will be changed to.\n\n#### How this detects the issue number?\n\nYou can specify in the `routes/index.js` at `searchOn` attribute wheres the webhook will search your issue numbers. The webhook can search in merged branche names or in commit messages.\n\nTo search in merged branch names:\n\n\tsearchOn: 'branches'\n\t\nTo search in commit messages:\n\n\tsearchOn: 'commit'\n\t\n## TODO\n\n- [ ] Implement the detection issue numbers on commit messages","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiopvilar%2Fgitlab-webhook-youtrack-js","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergiopvilar%2Fgitlab-webhook-youtrack-js","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergiopvilar%2Fgitlab-webhook-youtrack-js/lists"}