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

NoReverseMatch/{organization_slug}/{project_slug}/issues/{group_id}/actions/{slug}/ #14

Open
niQo opened this issue Jun 22, 2018 · 6 comments

Comments

@niQo
Copy link

niQo commented Jun 22, 2018

I have this error when I click on "Create Redmine Task" button:

NoReverseMatch/{organization_slug}/{project_slug}/issues/{group_id}/actions/{slug}/
errorReverse for 'sentry-group' with arguments '()' and keyword arguments '{'project_id': u'wam-interface', 'group_id': 71L, 'team_slug': u'sentry'}' not found. 1 pattern(s) tried: ['(?P<organization_slug>[\\w_-]+)/(?P<project_id>[\\w_-]+)/issues/(?P<group_id>\\d+)/$']
@Sayorus
Copy link

Sayorus commented Jul 17, 2018

I found solution.

  1. Open file /path/to/sentry_root/lib/python2.7/site-packages/sentry_redmine/plugin.py
  2. Open in editor and find string #70 : 'team_slug': group.team.slug,
  3. Replace team_slug to organization_slug

A little bit later I'll create pull request

@hugoseabra
Copy link

@Sayorus, still remains. What about the pull request? It is possible to create it?

@qunabu
Copy link

qunabu commented Oct 18, 2018

please fix this @Sayorus can you help with pull request ?

@ruisantos78
Copy link

Work for me....

@Sayorus
Copy link

Sayorus commented Jan 8, 2019

@hugoseabra , @qunabu , i'm sorry but i cannot do it because this bug and fix work only for legacy plugin (facconi/sentry-redmine). In current project another code structure and this bug not for this project.

P.S. Sorry for my english...

@hugoseabra
Copy link

I found solution.

  1. Open file /path/to/sentry_root/lib/python2.7/site-packages/sentry_redmine/plugin.py
  2. Open in editor and find string #70 : 'team_slug': group.team.slug,
  3. Replace team_slug to organization_slug

A little bit later I'll create pull request

I have done these steps and it worked for me.

@hugoseabra , @qunabu , i'm sorry but i cannot do it because this bug and fix work only for legacy plugin (facconi/sentry-redmine). In current project another code structure and this bug not for this project.

P.S. Sorry for my english...

Ok then! =)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants