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.

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

785 views 2 19
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