Skip to content
This repository has been archived by the owner on Aug 28, 2023. It is now read-only.

Commit

Permalink
Fix redirect to sentry-group
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed May 11, 2016
1 parent 079680c commit 1e0618e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion sentry_jira/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,9 @@ def view(self, request, group, **kwargs):
issue_key = GroupMeta.objects.get_value(group, '%s:tid' % self.get_conf_key(), None)
if issue_key:
self.update_issue_key(group)
return self.redirect(reverse('sentry-group', args=[group.team.slug, group.project_id, group.pk]))
return self.redirect(reverse('sentry-group', args=[
group.organization.slug, group.project.slug, group.id
]))

#######################################################################
# Auto-complete handler
Expand Down

0 comments on commit 1e0618e

Please sign in to comment.