How to fetch data from jira using R

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 vote

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.

Thanks Nic for your quick response.

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

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

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

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

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

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

Have you tried giving it a valid search string?

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Sunday in Agility

You asked for it, so we delivered: images on issues have arrived

A picture tells a thousand words. And agility boards have just released their latest feature: cover images on issues – so now your board can tell a story at first glance. Upload attachmen...

275 views 3 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you