getsentry / sentry-jira

A Plugin for sentry that lets you create JIRA issues
Other
95 stars 32 forks source link

Blank Issue Type when Creating Jira Ticket #23

Closed jonathancua closed 11 years ago

jonathancua commented 11 years ago

I am using the following: Python 2.6, Sentry 5.0.14, sentry-jira plugin 0.6.6 and jira 5.1.4

I am able to successful configure the plugin and successfully linked the plugin to the jira server. I am also using the credentials of the jira administrator.

When I am creating a jira ticket based on a sentry issue, I see the following: Error Communicating with JIRA, Please Check your configuration

and Issue Type is blank (there is nothing in the drop down menu).

I know that sentry can talk to the jira server because when I was configuring it was able to pull the different projects where it will be linked.

Let me know if you need any other information or if you need me to do something else.

thurloat commented 11 years ago

after you've configured the plugin, do you see a default project dropdown menu in the config screen populated with the projects configured on your JIRA instance? (ignore this message, I didn't read your initial message closely enough)

thurloat commented 11 years ago

on your JIRA instance, does the default project configured in sentry have any fixversions?

try visiting the url: https://{{SERVER_URL}}/rest/api/2/project/{{PROJECT_KEY}}/versions and check if it's an empty result.

jonathancua commented 11 years ago

I got this result when I tried visiting the url on a browser which I assume is empty result.

[]

But when I tried visiting this... https://{{SERVER_URL}}/rest/api/2/project/{{PROJECT_KEY}} I didn't get an empty result...

It showed info like the id of the project, users, etc...

thurloat commented 11 years ago

thanks for confirming my last commit :) -- I'll push up a new version to pypi soon

thurloat commented 11 years ago

@bichonfrise74 you can do an update from pypi, let me know if it works. In the meantime, I'll add a new test project to my JIRA instance with no fixversions so this doesn't regress.