JIRA User Story Time Tracking
I recently adopted JIRA as a Scrum agile development tool.
This is my scenario:
Scrum board
Estimation Statistic: Original Time Estimate
Time Tracking: Remaining Estimate and Time Spent
Our Product Owner populates BackLog with “User Story” issues
Our team estimates each “User Story” so we fill “Original Estimate” field in the “User Story”
Once all “User Stories” are dropped to current sprint, we start the sprint.
At this point, only “User Story” issues exists in the current sprint.
Then, the development team starts working.
So, a team member takes the first user story issue and breaks it down into several sub tasks (depending on user story complexity).
Once a sub task is completed, the team member logs work into the sub task “Time Spent” field.
What do we expect?
We expect, “Remaining time” in “User Story time tracking” is updated by the following formula:
[Remaining Estimate] = [Original Estimate] – ( Sum([ work log ]) )
Where Sum([ work log ]) is the sum of “all work logged in all subtasks” plus “work log in user story”
What we got
Remaining is ONLY updated with “work log in user story” even when “Include sub-tasks” is checked
Is there any method or workaround to use JIRA to fit our needs?
Example:
Create User Story Issue “User Story 1” and estimate it (Original Estimate): 1 week
Create subtask “Subtask 1”
Create subtask “Subtask 2”
Log work in Subtask 1: 1 day
Log work un Subtask 2: 1 day
Refresh “User Story 1” issue time tracking
Time Tracking
Remaining : 1 week
When actually the team has worked 2 days!
Thanks
Your issue is a well known Jira Issue
It's a very old issue, and I'm surprised that Atlassian does not react to this.
Some users found a workaround (if you have installed Jira on your own server, not onDemand) : creating a scripted custom field, but I didn't try it
Related
We are running visual studio team foundation server and today we are watching the number of active bugs on a dashboard. I would like to accompany this information with the number of new bugs added to the buglist each day.
I can't find any widget or anything in this area, is there anyone that have any idea how to track this?
You can easily create a cumulative flow chart that will show you the increase in tye number of bugs by day.
Create a query with the last 30 days of bugs by created date (#today-30). Then go to the Chart tab on the query and add a line chart. Tweek & pin it to your dasboard. Call it "30 day cumulative bug flow".
Another useful way to visualise this data would be to create a query for those bugs created in the last 24 hours, (#today-1) and pin it to your dashboard as a number. Call it "Incoming in last 24"
Unfortunately, there is no this kind of build-in feature.
You could use TFS Client API or REST API to query workitems and create the status report yourself.
Or you could set an optional reporting infrastructure. With this installed you can use the out of the box reports to do what you want:
Moreover, I also created an uservoice for you, TFS Admin will kindly review it, you could also vote up it to get more attention.
I visited this question on StackOverflow, but there was no proper answer fulfilling the need.
Currently, in the TFS iteration board, the tasks of user stories can be dragged for changing state.
But, I have user stories, only some which have tasks while others do not have.So, in the TFS iteration board I need only User Stories to show, which can be dragged from one state to another.
Is there a way we can update the template accordingly?
Or any other way?
This can't be achieved by now. You can add a feature request in User Voice.
Is there is a way to determine what the status of an issue for the sprint requested (or at minimum if it was resolved during that sprint)?
I'm using the JIRA Agile REST API to get a listing of issues for a sprint (see documentation and example here).
It does provide a listing of issues for that sprint, but for sprints that have completed it provides the issues current status (it might have been "In Progress" at the end of sprint 2, but now in sprint 4 it is "Resolved" so it will show resolved even when requesting data from sprint 2).
Have you tried using /rest/api/2/issue with changelog expansion:
<JIRA URL>/rest/api/2/issue/<ISSUE KEY>?expand=changelog
It provides you with the change log of an issue (including both status changes and sprint reassignment). I think that by exploring this information you might be able to get the data you want.
It looks like once an item is resolved there is a resolvedate that you can use to determine which sprint the resolution occurred in. It still doesn't provide a mechanism to determine what state the issue was in when the sprint ended (i.e. what items were not started when the sprint finished), but the resovledate looks to solve most of those issues.
There is a status in my JIRA instance called "Ready For Test" at which the tester would validate and close the jira. I need to know the amount of time the JIRA is in that particular status since it was moved from "In Progress" to "Ready to Test".
Is there a JQL query that can do it? I need this time field to be exported to Excel as well so that I can name and shame people and ask them to close the JIRAs as soon as they can.
I don't think it is possible on clean Jira installation. There are two plugins I know providing this kind of functionality:
Time in Status - self-explanatory
Enhancer Plugin (sorry, can't post more than two links) - adds a configurable time in status custom field, bt if I remember it correctly, it can display value only after you leave the status.
These are both paid, so that can be an issue.
Another option (if you're not using OnDemand) is the Script Runner Plugin. This plugin will allow you to create your own workflow postfunctions so you can store the "Ready to Test" transition date to one custom field and either calculate time and write it to another custom field when leaving that status or write a scripted field that will calculate and display current time since entering status. This solution is free (not counting your time to implement the functions).
Thanks #SilenyHobit for the idea. Here is what I've done:
First installed JIRA Suite Utilities plugin (its FREE)
Added a custom field called RFTDate (date type control)
Added a post function in RFT transition to update RFTDate with current datetime
Voila!!!
As an alternative, you can use Status Time Jira app. It provides reports on how much time passed in each status.
Once you enter your working calendar into the app, it takes your working schedule into account too. That is, "In Progress" time of an issue opened on Friday at 5 PM and closed on Monday at 9 AM, will be a few hours rather than 3 days. It has various other reports like assignee time, status entry dates, average/sum reports by any field(eg. average in progress time by project, average cycle time by issue creation month). And all these are available as gadgets on the dashboard too.
Here is the online demo link, you can see it in action and try.
As a free solution, you can try the limited version Status Time Free.
Why is "Unassigned" the only option available from the TFS 2013 agile task board? Why don't I see a list of team members. I have assigned team members to the team project. Also, if I open the task to get at all of the details, the Assigned To field has a list of all the users I would expect to be able to select from the agile board view.
Here's a screenshot of the Agile board where I am trying to assign the task to someone, but only see "Unassigned." I also cannot type in the field.
In my experience, this was related to capacity. For each sprint, you can set the number of hours per day and days off per user. I found that if a user was given 0 hours capacity for the sprint, they would not appear in the drop-down on the task board.
I think you don't have right in order to access your members, i suggest you to access security section in your Web Portal, check your Group and permissions associated.
try with administator group which have all permissions
This is late to the party, but in my experience this is because the drop down from the task board item view only includes team members which already have assigned tasks on the board (unless you set capacity, as above). If you edit the task by double clicking on it you can assign whoever, and then that person will appear on the drop downs for all other tasks on the board.