Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sum the number of days in an specific state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] #63

Open
hernan0216 opened this issue Jan 4, 2019 · 1 comment

Comments

@hernan0216
Copy link

hernan0216 commented Jan 4, 2019

Hi, I'm using jira_to_analytics.js script to obtain the information about sprints and generate some stats. In the output file there is a set of columns that we use to estimate the time that a task was in an specific state, for example the columns 'To Do', 'Blocked', 'In Progress', 'To Build','To Test', 'Testing', 'Done', these fields are dates so I consider that de difference days = 'To Build' - 'In Progress', is the time that the task was in In progress states, but in case that the task moves from 'To Build' to 'In Progress' again for any reason, I lost the first amount of days that was 'In Progress' isn't accumulative. There is any solution for this? I want to consider that the time that a task was 'In Progress' is the sum() of the days that was 'In progress'. How can I implement these? I appreciate any help. Thanks

@hernan0216
Copy link
Author

hernan0216 commented Jan 4, 2019

I'm using this config.yml file:
Connection:
Domain: XX
Username: XX
Password: XXX

  Criteria:
      Project:
          - X
          - Y
      Issue types: 
          - Story
          - Task
          - Bug
    
      JQL:


  Workflow:
      To Do:
        - To Do
      Blocked:
        - Blocked
      In Progress:
        - In Progress
      To Build:
        - To Build
      To Test:
        - To Test
      Testing:
        - Testing
      Done:
        - Done
      Invalid:
        - Invalid

  Attributes:
        Stage: status
        Type: issuetype
        Level: priority
        Labels: labels
        Versions: fixVersions
        Components: components
        Estimate: timeoriginalestimate
        Remaining: timeestimate
        Time: timespent
        Tracking: timetracking
        Points: customfield_10005

@hernan0216 hernan0216 changed the title Problem to count time in an state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] Problem to sum the amount days in a specific state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] Sep 12, 2019
@hernan0216 hernan0216 changed the title Problem to sum the amount days in a specific state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] Sum the amount days in a specific state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] Sep 12, 2019
@hernan0216 hernan0216 changed the title Sum the amount days in a specific state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] Sum the number of days in an specific state ['To Do', 'Blocked', 'In Progress', 'To Build', 'To Test', 'Testing', 'Done'] Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant