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

This widget could not be displayed.

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
Community showcase
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

202 views 1 3
Join discussion

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