System notes should reference record type instead of `work items`
Summary
When users reference a record (ex. issue) in another record (ex. task), we display the word work items
instead of task
in the system notes. We should change this to task
. Noting that the system notes in OKR Objective record type displays issue
, which is not idea and when mentioning in a Key Result record, no system note is generated at all.
Current behavior
I mentioned an Issue URL in a variety of record types and here's what happened:
Proposal
Update the record type displayed in system notes per the values in the "desired name to display" in the table below.
URL mentioned in: | record name displayed | pass/fail | desired name to display |
---|---|---|---|
issues record |
"issue" | - | |
objective record |
"issue" | "objective" | |
task record |
"work item" | "task" | |
key result record |
did not create a system note | "key result" |
Implementation details
- Use
type.id
in the system note and dynamically render thetype.title
so that if a work item type title is changed, the system note accurately reflects the work item type at all times.
Availability and Testing
Regression testing, please make sure e2e:package-and-test job
is passing.
Edited by Désirée Chevalier