Forums

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

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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
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
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!
July 13, 2018

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

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 14, 2018

Have you tried giving it a valid search string?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events