Forums

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

How do I pull Kanban details using python?

Chanakya Shah October 1, 2018

Hi,

 

I am interested to know if someone can help me pull data from the Kansan boards into a python data frame?

 

Thanks,

Chanakya

1 answer

0 votes
mamer_atlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 9, 2018

Hi Chanakya,

You may try to use  Jira-python library? it has a GreenHopper module to get information from boards. It also provides searching functions based on JQL. You may also try to use JQL queries to retrieve the issues of the Kanban board filter. 

Chanakya Shah October 9, 2018

The problem is that I am unable to access the Kanban boards as it gives me an error 'Old Greenhopper API used, all parameters will be ignored'. 

 

Is there a way around this?

mamer_atlassian
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
October 10, 2018

Try to set the agile_rest_path to 'agile' to remove the warning.  The below example works for me:

 

from jira.client import GreenHopper

options = {'agile_rest_path': 'agile','server': 'http://localhost:8080'}
gh = GreenHopper(options,basic_auth=('jira', 'jira'))

# Get all boards viewable by anonymous users.
boards = gh.boards()
print("Available boards:");
for board in boards:
      print("Board %s: (%s)" % (board.id,board.name))

 

Like Chanakya Shah likes this
Chanakya Shah November 20, 2018

Thanks, but is there a way I can access a particular Kansan details? Like all the three cards and the issues in them?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events