Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Board location

Ventsislav
Contributor
April 19, 2021 edited

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.

jira_server_boards.png

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.

jira_server_board_config.png

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"}

2 answers

0 votes
Saraswathi S
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2025 edited

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:

https://developer.atlassian.com/server/jira/platform/rest/v10002/api-group-board/#api-agile-1-0-board-boardid-get

 

Saraswathi S
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
January 17, 2025

You can find the api for getting the project details for the board in the Jira server setup

https://developer.atlassian.com/server/jira/platform/rest/v10002/api-group-board/#api-agile-1-0-board-boardid-project-get

0 votes
John Funk
Community Champion
April 19, 2021

Hi @Ventsislav  - Seems like a bug. I would open a support ticket for it with Atlassian:

https://support.atlassian.com/contact/#/

Ventsislav
Contributor
April 19, 2021

Thanks for the response. I just opened one. Hopefully it's nothing too major.

Like John Funk likes this
John Funk
Community Champion
April 19, 2021

Great - please post back here with the resolution 

Like Ventsislav likes this
Ventsislav
Contributor
April 26, 2021

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.

Suggest an answer

Log in or Sign up to answer
TAGS
atlassian, jira cloud certification, managing jira projects, jira project administration, jira cloud exam, atlassian certification, agile project management, jira workflows, jira permissions, jira training, jira cloud skills, atlassian learning

Become a Certified Jira Service Project Expert 🦸🏻‍♂️

Validate your expertise in managing Jira Service Projects for Cloud. Master configuration, optimize workflows, and manage users seamlessly. Earn global 🗺️ recognition and advance your career as a trusted Jira Service management expert.

Get Certified! ✍️
AUG Leaders

Atlassian Community Events