Forums

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

Sub task reporting

Alex Bertrand November 27, 2023

I need to report on all the activity and work being completed in our system.

Currently work is tracked via 'story points' on a story. In some cases, stories are made up of sub tasks which are completed by a different user then the 'assignee'. I need to be able to track the total story points completed by the assignee of a story for when there are no subtasks, and the users completing the sub tasks where applicable.

In addition, date stamps for when the story points are being logged would be a really really nice to have.

Our desired outcome is to get detailed reporting on costs and time associated with development work. 

1 answer

0 votes
Michel Neeser
Community Champion
November 27, 2023

Hi @Alex Bertrand

I am not sure if "story points" is really the metric you're looking for. Usually, in an agile environment, story points are only set on the user story itself and not on the subtasks. Subtasks are just a decomposition of a user story, meaning the story can only be completed if all the subtasks are completed.

In general, story points are not logged or subtracted because they are not a metric like hours/minutes. Story points include a number of factors like risk and complexity, so subtracting from them doesn't make sense.

I think what you're looking for is the time logging feature in Jira. This way, your users can log time against your stories/subtasks and you can report on this to calculate the cost. Every time log is saved with its timestamp, so it is also possible to report on the exact time of logging.

Hope this helps!

Alex Bertrand November 27, 2023

Hi Michel,

Thanks for the advice.

If looking at All Issues filter, which column would indicate the time stamp that time was logged against an issue?

 

Alex

Michel Neeser
Community Champion
November 27, 2023

@Alex Bertrand Because there can be multiple time logs per issue, it is not possible to display the timestamps in the column format (because there's only one column per issue in the "All issues" view, but N time logs for an issue).

However, if you switch to the detail view and click on the "Work log" tab in the issue, you can see the timestamps of all time log entries as follows:

Issue_navigator_-_Jira.png

Alex Bertrand November 28, 2023

Hi Michel,

Is there a way to pull all Work Log data for all issues?

Alex

Michel Neeser
Community Champion
November 28, 2023

@Alex Bertrand Basically, you have these three options to pull individual work log entries:

Alex Bertrand November 29, 2023

Hi Michel,

Appreciate the help. I am attempting to run a GET Rest API but am getting the following error:

 

"errorMessage": "Page not found"

 

Would this be because I may not be a Global Administrator?

 

Python code to run:

import requests
from requests.auth import HTTPBasicAuth
import json

url = "https://[company url].atlassian.net/rest/api/3/events"

auth = HTTPBasicAuth("[user name]", "[API KEY]")

headers = {"Accept": "application/json"}

response = requests.request(
    "GET",
    url=url,
    headers=headers,
    auth=auth
)

print(json.dumps(json.loads(response.text), sort_keys=True, indent=4, separators=(",", ": ")))
Michel Neeser
Community Champion
November 29, 2023

@Alex Bertrand What exactly would you like to achieve by calling the following endpoint?

https://[company url].atlassian.net/rest/api/3/events

As far as I know, this endpoint does not exist. What you are probably looking for to get the worklogs of an issue is this endpoint here:

https://[company url].atlassian.net/rest/api/3/issue/{issueIdOrKey}/worklog

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
TAGS
AUG Leaders

Atlassian Community Events