How to fetch data from jira using R

Rishi Kumar November 27, 2017

Dear Team,

I need to fetch data from Jira for some analytics purpose using R language.So please guide me how to move forward.Thank you for your consideration.

Regards

Rishi

1 answer

0 votes
Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 27, 2017

R can issue REST calls to fetch data from Jira - see https://developer.atlassian.com/jiradev/jira-apis/about-the-jira-rest-apis/jira-rest-api-tutorials for language-agnostic guides.

Rishi Kumar November 27, 2017

Thanks Nic for your quick response.

Rishi Kumar November 28, 2017

I tried GET("https://abcd.atlassian.net/rest/api/2/project/",authenticate("username", "password", "basic")) using R but not getting list of projects.Can anyone share some idea as how to proceed further.

Thank you

Rishi

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 28, 2017

Does that R function build a valid url for REST interaction?

Rishi Kumar November 29, 2017

Yes,I could get id,key,name of projects.Now trying to get issues related to each project.

Rishi Kumar November 30, 2017

Hello @Nic Brough -Adaptavist-

when I try using this GET("https://abcd.atlassian.net/rest/api/2/search/",authenticate("username", "password", "basic")),I am getting only issues related to a single project.Why am I not getting other projects related issues?I tried using jira content pack for Microsoft power bi,still getting same output.Please assist me.

Thank you

Regards

Rishi

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
December 1, 2017

There's no search string in what you are passing, so it's just returning everything the user can see.

Manish Tipnis July 13, 2018

Can someone post the latest on this ? I am trying for the same ..

Nic Brough -Adaptavist-
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
July 14, 2018

Have you tried giving it a valid search string?

Suggest an answer

Log in or Sign up to answer