Forums

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

Automated end-to-end user story extraction to a database

Mills, Nathanael
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!
April 1, 2022

I am a customer to an internal IT team that uses Jira to track their efforts.  I would like to extract their user stories into a database which unifies disparate data sources as the Jira data would go a long way toward fortifying the overall data set.  

The requirement is that the extraction of the Jira data needs to be automated and performed via reporting server (i.e. without using single sign-on, i.e. using service account credentials or the like).  On to the challenges:

  • UX access to JiraSW is via Okta, which is a single sign-on provider.  This complicates discussions because any solutions being explored are done through Okta and currently in my organization there is no possibility of setting up a service account in Okta.
  • Automated JQL extracts seem to only be possible by email, and the data isn't attached as a flat file, it is formatted as HTML/CSS something as a table embedded in the body of the email.  Scraping emails for data is a nightmare.

My reporting automation server runs on PowerShell, so the JiraPS module seems promising, but figuring out how to get credentials granted is sort of a mystery.

What's the cleanest way I can perform an ETL?  Can Jira email a flat file attachment?  Could I ask my team for a Jira service account so I can run JiraPS? What does it look like under the hood?

1 answer

1 accepted

3 votes
Answer accepted
Ed Letifov _TechTime - New Zealand_
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.
April 1, 2022

Hello, @Mills, Nathanael 

Access to Jira via REST API will not be protected by Okta, but will use local login i.e. if you can obtain an account local to Jira, with password credentials – you will be able to use basic authentication to run JQL searches via REST.

This (apparently) can be done directly in PowerShell, see: https://community.atlassian.com/t5/Jira-questions/JIRA-API-with-Powershell/qaq-p/992343#M318399

Not sure what "JiraPS" refers to (I am not a PS specialist), but there also seems to exist a 3rd party offering (I am guessing this is just a collection of cmdlets so pure "time-saver"): https://marketplace.atlassian.com/apps/1216656/datacmdlets-for-jira?hosting=server&tab=overview

Depending on what your reporting is build on besides the "automation server" – you may want to look at apps that extract data to PowerBI or Tableau e.g.

https://marketplace.atlassian.com/apps/1221150/power-bi-connector-for-jira?hosting=server&tab=overview

https://marketplace.atlassian.com/apps/1221376/tableau-connector-for-jira?hosting=server&tab=overview

Suggest an answer

Log in or Sign up to answer