getsentry / sentry-redmine

Sentry integration for creating Redmine issues
20 stars 15 forks source link

Feature proposal: link Sentry issues to existing Redmine tasks #3

Closed tonyo closed 8 years ago

tonyo commented 8 years ago

Our dev team find it convenient to be able to link Sentry issues to already created tasks on Redmine. A couple of use cases:

The feature is already implemented and being used by our team, here are the changes: https://github.com/rev112/sentry-redmine/commit/5f2b84a140ac6a1ee0b9235d9bca45922b22be8d

If you would like to see this feature merged and/or you have better ideas how to implement this -- I'm open for feedback.

How it looks like (a user has to select the checkbox AND enter a task ID, to make it a bit more foolproof):

sentry_link_existing

mattrobenolt commented 8 years ago

Hey @zhangjianpinghik, I've edited your comments to remove the API Key you published. In the future, you should avoid doing that. :)

zhangjianpinghik commented 8 years ago

@mattrobenolt ok thanks!

tonyo commented 8 years ago

@zhangjianpinghik I recommend you to create a new issue if you are still having issues with configuration. You can also try to interact with Redmine API via command-line tools like 'curl' first (see http://www.redmine.org/projects/redmine/wiki/Rest_Issues#Creating-an-issue), to make sure that Redmine doesn't wait for some required fields to create a new issue.

tonyo commented 8 years ago

@zhangjianpinghik ah, sorry, I've just noticed that you have done it already.

mattrobenolt commented 8 years ago

We should be able to do this after https://github.com/getsentry/sentry/pull/3495 is landed.

/cc @macqueen

zhangjianpinghik commented 8 years ago

@rev112 yes ,i resolved,thanks!

tonyo commented 8 years ago

@mattrobenolt Ok, cool, then let's leave this open until the new Sentry version with the link/unlink changes is out. I can make the required changes for sentry-redmine after that.

tonyo commented 8 years ago

Created a PR (#6).