User guide
This page explains where a task should live, and how to create, follow up, link and close it. At the end are tips for using GitHub.
Where should the task live?
Create the task in the repository where the responsibility lies. Ask the questions in this order:
| Question | If yes, put the task in |
|---|---|
| Does it concern one specific pilot? | The pilot’s repository, samt-bu-pilot-1 to samt-bu-pilot-7 |
| Is it legal work for several pilots, or for the pilots as a whole? | samt-bu-legal |
| Does it concern several pilots, or the pilots as a whole? | samt-bu-common-tasks |
| Does it concern generic architecture or the final deliverable (the framework)? | samt-bu-architecture |
| Does it concern the website docs.samt-bu.no itself (bugs, new features)? | solution-samt-bu-docs |
| Does it concern how we manage tasks? | solution-task-management |
If in doubt, put it where you think it fits best. Tasks can be moved between repositories without losing anything.
One task, one place. Never copy a task to another repository. If it affects several, link instead – see Conventions.
Creating a task
- Go to the repository, choose Issues and New issue
- Choose the form for the issue’s type: Task, Solution proposal, Question, Decision, Risk or Problem. See Conventions for what they mean. The form sets the type for you. In the Problem form you also choose what kind of problem it is, or suggest a new choice.
- Write a short title saying what the issue is about, and fill in the fields. Only the first fields are required. The forms are in Norwegian.
- In the field Gjelder (concerns) you can paste a link to what the issue is about: a page on docs, a case, another task or an element in the Archi model. Keep the issue itself short. Write plans, descriptions and results on the docs page, not in the issue (see one master per piece of information).
- Assign the issue to whoever will work on it (Assignees), if they have a GitHub user. Exception: if the issue is input that has not yet been considered, do not assign it. Write @username in the field Forslag til hvem som bør se på dette (suggestion for who should look at this) instead. They get a notification and can follow the issue.
- Save with Create
The forms apply to all repositories in samt-x. To write freely, choose Blank issue at the bottom of the list, and set the type yourself in the Type field on the right.
The task is added automatically to the repository’s project board. All the repositories in the table above have a board of their own, except samt-bu-common-tasks. Information-models also has a board. Tasks from all the repositories are collected every hour on SAMT-BU Overview – All tasks, including those from samt-bu-common-tasks.
Following up
The project boards are under Projects in the samt-x organisation, or via the link in the repository. On the board you can move the task between status columns, and set owner, priority and deadline where the board has such fields.
My tasks across all boards
The search My open tasks in samt-x lists all open tasks assigned to you, in every repository in the organisation. You must be signed in to GitHub. Consider bookmarking the link.
This search and several others, together with links to all the boards, are collected under Governance → Tasks and follow-up.
- The search only lists tasks where you are an Assignee. That is why assigning tasks matters, see Conventions.
- The architecture group’s project board also has the view My tasks (this project), which lists your tasks on that board, with the board’s own fields.
- Assigned to me in GitHub shows the same as the search, but also from other organisations you belong to.
Status comment in the architecture meeting
Project 5 has the field Comment, which shows the latest status of each task. To update it:
- Open the view All tasks. Each row is one task.
- Find the row for your task. The Responsible column shows who owns it.
- Double-click the cell in the Comment column, write the date and status, for example «23.10: Draft sent to Anders», and press Enter.
Overwrite the old comment. The field holds a single line, and the previous one is kept in the status history, which is updated every hour.
Reading the whole comment: Long comments are cut off in the table. Click the title of the task to open a panel on the right with the whole comment and the other fields. To see all the comments together, use the status table, which is also updated every hour.
Dependencies between tasks
When a task cannot start or be finished until another task is done, link them in GitHub. Everyone can then see that the task is waiting, and the timeline draws an arrow between them.
Within the same project
- Open the task that waits.
- Find Relationships in the right margin, and choose Mark as blocked by.
- Search for the task being waited for, by title or number, and select it.
- Write why the task waits in the description, under the heading Avhengigheter (Dependencies), one line per task, for example «- #35: needs legal clarification of consent». The Task form has a field for it.
The task being waited for shows the link as Blocking. When it is closed, the waiting is considered over.
Across projects
The link also works when the tasks are in different repositories in samt-x, for example an architecture task waiting for a delivery from a pilot.
- Do the same as above, from the waiting task. If the task does not show up in the search, paste the link to it.
- Under Avhengigheter, write the organisation and repository before the number, for example «- samt-x/samt-bu-pilot-6#12: needs test data from the pilot». Without samt-x/ there is no link.
- The timeline only draws arrows between tasks on the same board. If the task being waited for is on another board, the waiting task gets ⛔ before its title, and the tooltip says that the task being waited for is not in the chart.
Waits for, part of, or waits for something outside GitHub?
| Situation | Use |
|---|---|
| The task waits for another task | Mark as blocked by (above) |
| The task is part of a larger task | Sub-issue: open the larger task and choose Create sub-issue or Add existing issue. See Timeline. |
| The task waits for something that is not a task in GitHub (an answer, an agreement, a decision elsewhere) | The label blocked, see Blocked |
Dependencies can be searched for with is:blocked (waits for something) and is:blocking (something waits for it).
Closing a task
- Always write a closing comment on the outcome, with a link to the page, document or change
- Close as completed when the task is done, as not planned when it is rejected, aborted or cancelled, and as duplicate when it already exists – and say why
- The status on the board is set to done automatically when the task is closed
Tips: GitHub for task management
What makes everyday work easiest, collected in one place. The details are in the chapters above and in Conventions.
Finding your way
- Your tasks: bookmark the search My open tasks in samt-x. It is the quickest way to what you need to do.
- All the boards and the standard searches are collected under Governance → Tasks and follow-up.
- The overview board SAMT-BU Overview – All tasks shows the tasks from all the repositories.
- The timeline for each board is on the page «Tasks and progress» for the pilot or solution, see Timeline. If you are signed in on docs, your tasks are highlighted in yellow.
Useful searches
Type the search in the search field on github.com/issues (requires signing in) or in the issue list of a repository. The terms can be combined, for example is:open assignee:@me org:samt-x.
| Search term | Shows |
|---|---|
org:samt-x | only tasks in samt-x |
repo:samt-x/samt-bu-pilot-6 | only tasks in one repository |
is:open | only open tasks |
assignee:@me | tasks assigned to you |
no:assignee | tasks not assigned to anyone |
mentions:@me | tasks where you are @-mentioned |
is:blocked | tasks waiting for another task |
is:blocking | tasks another task is waiting for |
label:blocked | tasks waiting for something outside GitHub |
type:Risk | one type: Task, Decision, Question, Risk … |
sort:updated-desc | most recently changed first |
Link, don’t copy
#12links to task 12 in the same repository. If the task is in another repository, writesamt-x/samt-bu-pilot-6#12. You can also paste the whole address, and GitHub shows it in short form.- The link adds a note in the task being linked to, so the connection is visible from both sides.
- If the task waits for another, use Mark as blocked by. If it is part of a larger task, use a sub-issue. See Dependencies between tasks.
- To mention a number without linking, put it in code format, see Writing tips.
Notifications
@usernamenotifies the person and subscribes them to the whole thread from then on. Use it when the person should follow the issue.- You get notifications for tasks you created, are assigned to or are @-mentioned in. To follow another task, choose Subscribe in the right margin.
- Notifications are collected at github.com/notifications. Whether they also come by email is set under Settings → Notifications in GitHub.
On the board
- Set the status In progress when you start. When the task is closed, it is set to done automatically. The timeline uses these times as the actual start and end.
- Give the task a Start date and Duration (working days), or a Due date. It then gets the right place in the timeline, see Timeline.
- Click the title of a task on the board to see and change all the fields in a panel, without leaving the board.
- Sub-issues end up on the same board as the task they are part of.
Keyboard shortcuts
| Key | Does |
|---|---|
/ | Goes to the search field |
? | Shows all the shortcuts on the page |
c | New task, from the issue list in a repository |
r | Quotes the text you have selected in your reply |
Ctrl+Enter | Saves the comment |
Select text in the editor and paste an address, and the text becomes a link.