Track ALL the things!

Android Studio has an awesome feature associated with Tasks: issue tracker integration. When you enable it, the IDE will grab all the tasks from your issue tracker (by default, all the tasks assigned to you, but you can change this). A wide array of trackers are supported, starting from JetBrains’ own YouTrack, to JIRA, GitHub, etc.

Let’s set up our issue tracker and see how this works! First of all, open Tools > Tasks & Contexts > Configure Servers:

The magic starts here

In the Servers window we can setup one or more issue trackers. In our case we were attaching to a YouTrack instance:

You can also specify a commit message template to use for changes originating within tasks coming from this tracker. If you want, hit the Testbutton on the lower right — you know, just in case. If you haven’t dun goofd, the IDE will tell you everything is working.

Small sub-tip for you!

If you have more than one project hosted at the same URL, you likely want to tweak the Search query to include a project filter. For example, using the JIRA integration, add this bit to the JQL before the order by clause:

and project=“XXX”

where XXX is the project identifier, which you see as prefix for all your issue IDs.

For YouTrack, you’d write instead:

Project: XXX