Skip to content

Commit ca717a9

Browse files
committed
NO-ISSUE: Add doc string
1 parent 4f03618 commit ca717a9

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

scripts/jira/sprint_metrics.py

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,26 @@
22

33

44
"""Tool for extracing Sprint Metrics from JIRA.
5+
6+
It is mandatory to provide a configuration file in JSON format. The file needs to have this format:
7+
{
8+
"board_id": board id from JIRA. This varies between projects,
9+
"jira_query": JQL to use for searching issues,
10+
"jira_token": Auth token from JIRA,
11+
"results_path": Path for the CSV results file,
12+
"raw_issues_path": Path for a raw JSON file with all sprints and issues that were retrieved.,
13+
"sprints": [
14+
{
15+
"name": Sprint name. Needs to match the name in JIRA,
16+
"goals_achieved": Number of goals that were achieved,
17+
"goals_total": Total number of goals that were included in the sprint,
18+
"team_members": Number of team members participating in the sprint's issues,
19+
"working_days": Sum of working days from every team member
20+
}
21+
]
22+
}
23+
24+
After running the script you may upload the CSV to a LLM model, using the prompts in AI_PROMPTS variable.
525
"""
626

727
import argparse

0 commit comments

Comments
 (0)