getsentry / sentry-redmine

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

fix(redmine): Handle required fields #15

Closed mikellykels closed 6 years ago

mikellykels commented 6 years ago

Handle the required fields project_id, tracker_id, and default_priority after Host and Key credentials have been added.

Before

Even when Host/Key was saved, the other required fields (Project, Tracker, and Default Priority) would not populate with the required information in order to continue:

screen shot 2018-07-03 at 2 46 36 am

After

Enter Host/Key > Save:

screen shot 2018-07-03 at 1 10 41 am

Continue to connect/Save your Project, Tracker, Default Priority, and any Extra Fields:

screen shot 2018-07-03 at 1 12 44 am

Error messages added:

screen shot 2018-07-03 at 1 11 58 am
mikellykels commented 6 years ago

I created another JIRA ticket for further improvements where I can revisit improving/refactoring this integration https://getsentry.atlassian.net/browse/SE-83 (serializers.ValidationError may need a little more time to get working). Going to merge this now so people can use the integration.