Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error using VIRA on newer JIRA #82

Open
jczaja opened this issue Sep 19, 2023 · 3 comments
Open

Error using VIRA on newer JIRA #82

jczaja opened this issue Sep 19, 2023 · 3 comments

Comments

@jczaja
Copy link

jczaja commented Sep 19, 2023

Hi,

I have been a user of VIRA and it worked great however Command "ViraFilterProjects" stopped to work today (probably some update of JIRA I'm using). So here is error when calling ViraFilterProject:

image

VIRA version: c5ee0d3

Please advice how to proceed

@mikeboiko
Copy link
Collaborator

Can you try running pip install -U jira to see if that fixes your issue?

@jczaja
Copy link
Author

jczaja commented Sep 21, 2023

I have updated jira package (3.5.0 to 3.5.2) but still when executing :ViraFilterProjects I still got this error as mentioned in above post.

Other commands :ViraFilterText , :ViraIssues works fine.

@mikeboiko
Copy link
Collaborator

Yea, it looks like jira changed their API.

The following code from python/Vira/vira_api.py no longer works with your version:

            projects = self.jira.createmeta(
                projectKeys=','.join(batch), expand='projects')['projects']

I'm pretty busy these days, but I'll take a look when I have some time.
In the meantime, you could try searching for a solution online and testing the changes in vira_api.py directly.

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

No branches or pull requests

2 participants