Great news for all GitHub and YouTrack users. Today, we are introducing native integration between YouTrack and GitHub.
What will you get? You can type any command (just as with command window) right in the commit comment, and this command will be applied to the issue associated with commit. For example, should you commit files with a comment like #JT-1787 fixed tag to be documented, issue JT-1787 will be fixed and tagged as “to be documented”.
Interested? In order to integrate your YouTrack installation or hosted instance with GitHub repository, you’ll need to navigate to Admin->Service Hooks part of your repository and find YouTrack at the bottom of the list of available service hooks. You’ll also find all necessary instructions in service hook description.
Note: if you’re using YouTrack 2.x version, the command specified in commit comment will be applied with the administrator credentials, if you’re using YouTrack hosted, and generally starting from the next YouTrack version, the command will be applied with the committer’s credentials.
Integrate and track with pleasure!
JetBrains YouTrack Team
Any advice on how to troubleshoot this?
Pushing a commit to GitHub with the message “#admin-16 fixed” doesn’t seem to do anything. My email address is the same in YouTrack and GitHub’s user settings. Also, in the YouTrack service hook on GitHub, if I click “Test Hook” I get the message “Payload deployed”.
Hi,
we defined a custom state for our issues. Is there a way to set this state through a GitHub commit message via service hooks?
greetZ,
Jovo
Note: The state contains whitespace characters.
Hello, Jovo!
Yes, it should be possible. Message should be something like:
State my own state
Hey Guys, I have a workflow question…
Let’s say in Github I work on a feature branch called “Feature” and we had a main branch called “V 1.0″. Our build for the test team will be built from the “V 1.0″ branch. Now let’s say I do a commit and push for a bug fix into the “Feature” branch.
It will now go up on github for code review but it isn’t in the branch used for test builds yet, so if the bug is marked fixed it’s premature.
Once the code review has passed, the change will be merged into the “V 1.0″ branch. At this point we want the you track bug to be marked as fixed.
What I am getting at is if there is a way to have put the commands for youtrack in the commit on the feature branch and specify a way to say, only run them when committed to the “V1.0″ branch. I am looking to have a way to have some accountability for each bug and control the timing of the updates without losing all the benefits of Git.
Thanks, Steve
Looking on Github it looks like this isn’t supported for YouTrack but is by BugZilla, is there any chance you can add an option for the integration branch(es) to watch?
Currently there is no such feature in GitHub integration. You can vote for this issue: http://youtrack.jetbrains.com/issue/JT-17040
A branch setting has been added to the Github service hook. You can limit commands to a single branch now. Or leave it blank to take commands from all branch commits.
Hello, Dave!
Thank you very much for contributing!