Support Jira Cloud instance - #448
Conversation
|
We've migrated to Jira Cloud so having this resolved would be awesome! |
psss
left a comment
There was a problem hiding this comment.
Thanks much for preparing this! For now just some quick feedback. Will review more later today. Overal it seems to be working ok, I just ran into the following problem:
did last week --jira-createdworks finedid last week --jira-resolvedalso correctly lists resolved issuesdid last week --jiralists only created issues
Any idea what might be wrong?
Assisted-by: Claude Code
…substring sanitization Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Assisted-by: Claude Code
f78066a to
c25e2d4
Compare
|
I found out that for Could it be some strange rate limiting? I don't see any headers saying any 'slow down please' though. |
We had chat on slack but for future reference: It seems to be the same symptom as with the AAID lookup call - If jira queries are too fast jira returns Slowing down the rate (eg sleep) seems to mitigate the problem :/ |
|
And the culprit was race condition when While checking I found out that 'after' didn't returned issues transitioned on that day. Added '00:00' to include it. |
|
Maybe worth considering updating api calls to https://developer.atlassian.com/changelog/#CHANGE-2046 |
|
does this work for you? I still didn't manage to get this working for me |
|
@sandrobonazzola I merged this with my PR and its working for me. I had no luck with |
@sandrobonazzola, do you mean the [jira]
type = jira
auth_type = basic
auth_username = psplicha@redhat.com
token = ***
url = https://redhat.atlassian.net/
api_version = 3 |
|
@psss ok, it somehow work for me using your template. I missed the |
|
Please let's merge this and then add my additional fixes from #453 |
|
Yeah, let's get that improved step, by step. Added just a few nitpicks in 456de14. |
|
Apologies if this is not the best place to ask. I didn't see a Discussions section. We're using Jira cloud now and I can't get the new config to work. The two main issues appear to be:
The section used to be called [jira-issues] and that worked. I don't really think that's the problem at all. I have another section in the config file for Trello, and that works fine. It seems to be just changing to Jira cloud that's causing the problems. Did I miss something or get something wrong? Thanks for any help. |
|
@daobrien, could you please try my example config above? You should use |
@psss afaict my config is the same as yours apart from using Currently looking into the docs... |
|
Do you have the latest |
Yes just installed it a couple of hours ago on F42. (Feel free to use Slack if that's easier/faster.) So, not the absolute latest. I'll add the COPR repo and try that. |
Ok, that did it. Thanks 👍 |
Good! 👍 |
Assisted-by: Claude Code