-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
[Jira Time Tracking] Please add support for On-Prem Jira installation #12550
Comments
Thank you for opening this issue! 🔔 @niallpaterson @0w0miki you might want to have a look. 💡 Author and Contributors commandsThe author and contributors of
|
Hi @marcgemis would you like to test #11918 ? |
HI @haydencbarnes, In the terminal window I only see 06:47:28.296 Fetching projects from: /rest/api/2/project?maxResults=500&startAt=0 |
I added some log instructions, e.g. in requests.ts, just above the const responseBody = await res.json() The "res" is ` size: 0, of course the ****** is the name of our jira host. When I click on that URL in the browser I do get the projects in json format. |
When I replace /** Authorization: |
@marcgemis, that's interesting. As this is not a file I changed, let me look through it here quickly and confirm that it also works for the cloud. It's interesting that it also gives you a 403, and for me, it does not. |
Bearer does not work as nicely for the cloud, unfortunately. OAuth2 Bearers have been added to Jira Server but not to Jira Cloud yet for some reason. But according to https://developer.atlassian.com/server/jira/platform/basic-authentication/ this current request should work fine, and works for me on multiple instances. @marcgemis Can you please shoot me a message over on https://raycastcommunity.slack.com/team/U06UKMRBUU9 with a screenshot of your config for the extension. |
Also, I would like to confirm that you are using your personal API key and not your organization's API key? |
The URL works because you are already authenticated in your browser, the 403 error you are receiving here is a credentials issue. |
Yes, I generated a key in Jira via Profile > Personal Access Tokens We do have Jira v9.12.7#9120007 I don't understand it anymore. Now it works with both methods of authentication, and with email and user name in the settings. Maybe something is cached now? |
Hmmm, you could try uninstalling and reinstalling the extension. |
After stopping Raycast, removing the plugin folder, restarting Raycart and retrieving the plugin again, it stopped working. |
@marcgemis Copy that. Since I have already written the code for switching between APIs for Server/Cloud, will submit a commit here in a minute that switches between bearer for Server and basic for Cloud. |
@marcgemis Can you please pull the latest and retry? The update I just submitted to requests.ts should fix your issue. |
seems to work for the project I tried yesterday. (ca 3000 issues) |
How many of the 23,000 does it load? |
Nevermind, I see #12886 |
@pernielsentikaer This can be closed courtesy of #11918 |
This issue has been automatically marked as stale because it did not have any recent activity. It will be closed if no further activity occurs in the next 10 days to keep our backlog clean 😊 |
@raycastbot close this issue |
Extension
https://www.raycast.com/niallpaterson/jira-time-tracking
Description
The plug-in does not work for an on-prem installation of Jira.
I tried to compare the Jira and Jira On-Prem plug-ins. I think the Authorization headers are slightly different.
Would it possible make the plug-in compatible with an on-prem Jira? Or release a separate version?
Who will benefit from this feature?
Everyone with an on-prem installation of Jira
Anything else?
No response
The text was updated successfully, but these errors were encountered: