ActionableAgile / jira-to-analytics

This code extracts data from Jira based on a yaml config file, and outputs a properly formatted CSV that can be read by the ActionableAgile Analytics tool.
https://www.actionableagile.com
GNU General Public License v2.0
57 stars 36 forks source link

Not an Issue !!! #69

Open dmweyer opened 5 years ago

dmweyer commented 5 years ago

This is not an issue, just wanted to find out if there is a forum or some other place to ask support related questions? Really sorry for posting here, but wasn't sure where else to ask.

samiller2013 commented 5 years ago

No one from ActionableAgile supports this any longer from what I’ve seen.

What questions do you have?

dmweyer commented 5 years ago

1 - For items which are moved back to a previous status, how is the time in that status calculated e.g. if an item spends 2 days in dev, then moves to testing for 1 day and then moves back to dev for another day and then finally back to testing for 3 days, how is the time in each status calculated.

2 - From the example file, it appears as though you can set a filer, but I can't get that to work. How do you specify a filer? Does it reference a filter that you set in Jira i.e. when you run a JQL you can save the query as a filer? If not, how do you define what to filer on?

samiller2013 commented 5 years ago

1 -as I’ve experienced it, if you start to introduce backwards flow into your system, then it will only consider the first date that it entered a particular status.

2 - you can search in jira with JQL, and save that as a filter. When you save it, you’ll reference the filter by name in the config file.

dmweyer commented 5 years ago

ok so jql looks like project=XXX and labels = YYY filter saved as filter_YYY config looks like Filters:

dmweyer commented 5 years ago

Thanks, Sam, something weird is happening, Was working fine a few days agao, when I run it now, authernticates ok, runs very quick (too quick) , no errors, but out output file only has headings. Exact same config file I used two days ago

Authenticating... Authentication successful.

Beginning extraction process Extracting: [====================] 100% | 0.0 seconds remaining Successful. Results written to output.csv

samiller2013 commented 5 years ago

You could using the filter ID retrieved from the URL when you go to the saved filter in jira itself.

We’re you using the filter the last time it worked?

samiller2013 commented 5 years ago

Back to the backwards flow issue, since I forgot to mention this earlier (and it’s likely not a github discussion, but I’ll ask anyway): what is the root cause of the backwards flow? Have you tried mitigating that?

dmweyer commented 5 years ago

no I wasn't I also tried it now with the filter commented out, same thing

dmweyer commented 5 years ago

In terms of backwards flow, its mostly legacy board that we set up incorrectly and teams, not understanding flow, recent data should be ok, was just curious.

samiller2013 commented 5 years ago

Interesting, have you tried cloning the code again to a different folder? I wonder if something went wonky in the code, or maybe something changed in your instance of jira.

dmweyer commented 5 years ago

ok managed to get it to run again, will test the filter

dmweyer commented 5 years ago

ok get the following error when I add the filter: Error running ActionableAgile command line tool. Please see error below. YAMLException: bad indentation of a mapping entry at line 16, column 4: Filters: ^

This is the line in the config - Filters: