Just a heads up: On March 24, 2025, starting at 4:30pm CDT / 19:30 UTC, the site will be undergoing scheduled maintenance for a few hours. During this time, the site might be unavailable for a short while. Thanks for your patience.
×Hello,
I have set up a Jira Software (Data Center) locally and I'm trying to pull some data through jira-python library.
However, I believe the problem is that I cannot configure it properly.
First, I thought it's the fact that those boards are restricted, but it doesn't work with the All users one. There is an existing REST API endpoint, but it seems that the problem is that the configuration is incorrect - I can't add a location to a board.
Any help would be highly appreciated.
EDIT: Here is the curl command to pull the board info
curl -H "Authorization: Bearer <token>" https://<jira_instance>/rest/agile/1.0/board/65
{"id":65,"self":"http://localhost:8080/rest/agile/1.0/board/65","name":"reretest","type":"scrum"}
This is because the APIs for the jira hosted on the server is different from that of the jira hosted on the cloud. You can refer to the document below,
Cloud Jira :
https://developer.atlassian.com/cloud/jira/software/rest/api-group-board/#api-group-board
Server Jira:
You can find the api for getting the project details for the board in the Jira server setup
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Ventsislav - Seems like a bug. I would open a support ticket for it with Atlassian:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for the response. I just opened one. Hopefully it's nothing too major.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great - please post back here with the resolution
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I managed to fix the issue using this
jira_auth.boards(projectKeyOrID=project.jira_project_id)
This exists in jira python tag 3.0. However, you can't install it (just yet) with pip, but I managed to overcome it
-e git://github.com/pycontribs/jira.git@7fa3a454c08a14e2d7d7670fcfa87482e16936ba#egg=jira
Hopefully this helps.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.