14

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

Thanks

moisesgallego
  • 421
  • 6
  • 14

3 Answers3

3

It seems the current answer is no (at least I could not find anything in the mailing list or even the bug database)

Therefore I opened a corresponding report for an enhancement. Feel free to register and vote on it.

madth3
  • 7,275
  • 12
  • 50
  • 74
3

It's not really needed to have this integration, since you can comment on or close GitHub issues through the git comment.

Examples:

Reimplement feature XYZ as described in #123
Removed extra spaces in foo. Fixes #148
Working on integration with bar. #99 and octocat/bar#20

Read this blog post

Arnold Daniels
  • 16,516
  • 4
  • 53
  • 82
0

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.

  • According to https://github.com/junichi11/netbeans-github-issues-plugin, the proper permission for the OAuth token is just "repo". – Ramon Chiara Jan 18 '22 at 03:12