toggl / track-extension

Toggl Track browser extension for Chrome and Firefox

Home Page:http://toggl.github.io/track-extension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jira / Atlassian wrong or missing project - perhaps Breadcrumb parsing?

goldeninetz opened this issue Β· comments

  • OS version: Ubuntu 22.04
  • Browser version: Brave v1.52.126 (Chromium 114)
  • Extension version: 3.0.8

Relevant integration:

https://atlassian.net/

πŸ› Describe the bug

  • A: If project name is truncated in breadcrumb, no project is populated when clicking Start Timer
  • B: If project name in "upper" breadcrumb exists, then any lower breadcrumb appears to be ignored and the project is populated from upper after Start Timer is clicked.
  • C: If issue is a sub-issue, then project is not populated.

Expected behaviour

Project populated consistently.

Steps to reproduce

Have a project with a "long" name such as Flexential Data Center

Have a project with a board that allows other project's related issues to appear.

A: Truncation on Issue's page

  1. Visit a specific issue https://inetz.atlassian.net/browse/FLEX-377 and observe breadcrumb
    • Projects / Flexential Data Cent... / FLEX-377 / Start timer
  2. Click Start Timer
    • Issue's title populates, Project is not populated
Project's page "avoids" truncation but can cause incorrect project detection
  1. Visit a project https://inetz.atlassian.net/jira/software/c/projects/FLEX/boards/106 and observe "upper" breadcrumb (not truncated)
    • Projects / Flexential Data Center / Flex Board
  2. Click on an issue in the project https://inetz.atlassian.net/jira/software/c/projects/FLEX/boards/106?modal=detail&selectedIssue=FLEX-345 and observe "lower" breadcrumb
    • FLEX-345 / Start timer
  3. Click Start Timer,
    • Issue's title populates, Project is populated as well.

B1: Project board with different project's Issue

  1. Visit Project Team's board https://inetz.atlassian.net/jira/software/c/projects/SA/boards/26 observe breadcrumb
    • Projects / Inetz SysAdmin / Team - SysAdmin
  2. Click on an issue from a different project https://inetz.atlassian.net/jira/software/c/projects/SA/boards/26?modal=detail&selectedIssue=DEV-5513 observe breadcrumb
    • DEV-5513 / Start timer
  3. Click Start Timer,
    • Issue's title populates, Project populates Sysadmin instead of Dev
  4. Visit Issue's page https://inetz.atlassian.net/browse/DEV-5513
    • Projects / Inetz Dev Project / DEV-5513 / Start timer
  5. Click Start Timer
    • Issue's title populates, Project populates correctly as Dev

B2: Search page

  1. Have a search in one project
    • https://inetz.atlassian.net/jira/software/c/projects/SA/issues/SA-2082?filter=allissues
  2. Add another project
    • https://inetz.atlassian.net/jira/software/c/projects/SA/issues/SA-2084?jql=project%20IN%20%28%22SA%22%2C%22Inetz%20Dev%20Project%22%29%20ORDER%20BY%20created%20DESC
  3. click on other project's issue
    • https://inetz.atlassian.net/jira/software/c/projects/SA/issues/DEV-5513?jql=project%20IN%20%28%22SA%22%2C%22Inetz%20Dev%20Project%22%29%20ORDER%20BY%20created%20DESC
  4. Observe breadcrumbs
    • upper Projects / Inetz SysAdmin
    • lower DEV-5513 / Start timer
  5. click Start Timer
    • Issue title populates, project is SA not DEV

C: Sub-issue

  1. Have an issue that is a sub-task or member of an epic such that the breadcrumb looks like this:
    • Projects / Inetz SysAdmin / SA-1996 / SA-2000 / Start Timer
  2. Click Start Timer
    • Issue title populates, project does not

fin

Behavior has changed.

Brave v1.60.125 (Chromium 119.0.6045.199)
Toggl 3.0.27

When viewing a single task, i.e. https://inetz.atlassian.net/browse/SA-2082 then the project is never detected.
When viewing a task via a board i.e. https://inetz.atlassian.net/jira/software/c/projects/SA/boards/104?selectedIssue=SA-2082 then the board's project is detected, regardless of the task's project. https://inetz.atlassian.net/jira/software/c/projects/SA/boards/104?selectedIssue=REN-104

Hi @nidarasheed , I'm getting pressure from management about the browser plugin's ability to correctly detect atlassian's (JIRA) project correctly. Is there any details you can share that I can pass on to them?