Integration between Github Issues and Netbeans

Viewed 2861

Is posible to integrate the project issue tracker of Github into Netbeans to automatize the add, change or remove issues trough the IDE.

Thanks

3 Answers

This integration is available in NetBeans 12.

From the Window menu, select Tasks. In the Tasks tab, add a repository by clicking the icon on the right side of the repository header.

Repository header

A dialog appears. Select GitHub Issues as the Connector.

Create Task Respository dialog

You'll need an OAUTH token, known as a GitHub Personal Access Token. To create one, visit github.com, log into your account. Click on your account icon in the upper right corner and select Settings from this pulldown menu.

Now click Developer settings on the navigation menu on the left. Click Personal access tokens on the new menu on the left. Click Generate new token. Put a descriptive name in the Note field.

Select the appropriate permissions. Unfortunately I'm not certain what minimum permissions are required, but those I selected, which seem to work, are: notifications, read:discussion, read:enterprise, read:gpg_key, read:public_key, read:user, repo, workflow. Thanks in advance if you can provide further insight here.

Next click the Generate token button. You'll be presented with the token secret once and only once. Copy it and paste into the Oauth Token field in the NetBeans dialog from above. Click Add repository.

A dialog appears prompting you to select the username and repo for which you'd like to track Issues. Choose one and click Ok. This will populate the remaining fields in the Create Task Repository dialog. Click Connect to verify and you should see a success message.

enter image description here

Click Ok on the popup, and again on the dialog, and you should see your new repo and list of Issues.

enter image description here

And that's it. You can now open Issues, assign them, add comments, manage labels, change issues to PRs, create milestones, manage templates, and so forth.

Related