toggl / track-extension

Toggl Track browser extension for Chrome and Firefox
http://toggl.github.io/track-extension
Apache License 2.0
1.09k stars 568 forks source link

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

Open goldeninetz opened 1 year ago

goldeninetz commented 1 year ago

Relevant integration:

https://atlassian.net/

🐛 Describe the bug

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
  3. 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
  4. 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
  5. Click Start Timer,
    • Issue's title populates, Project is populated as well.

      B1: Project board with different project's Issue

  6. Visit Project Team's board https://inetz.atlassian.net/jira/software/c/projects/SA/boards/26 observe breadcrumb
    • Projects / Inetz SysAdmin / Team - SysAdmin
  7. 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
  8. Click Start Timer,
    • Issue's title populates, Project populates Sysadmin instead of Dev
  9. Visit Issue's page https://inetz.atlassian.net/browse/DEV-5513
    • Projects / Inetz Dev Project / DEV-5513 / Start timer
  10. Click Start Timer
    • Issue's title populates, Project populates correctly as Dev

      B2: Search page

  11. Have a search in one project
    • https://inetz.atlassian.net/jira/software/c/projects/SA/issues/SA-2082?filter=allissues
  12. 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
  13. 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
  14. Observe breadcrumbs
    • upper Projects / Inetz SysAdmin
    • lower DEV-5513 / Start timer
  15. click Start Timer
    • Issue title populates, project is SA not DEV

      C: Sub-issue

  16. 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
  17. Click Start Timer
    • Issue title populates, project does not

fin

dianetoggl commented 11 months ago

Case ref

nidarasheed commented 9 months ago

case reference

nidarasheed commented 9 months ago

case reference

edtamayo commented 9 months ago

case reference

goldeninetz commented 7 months ago

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

nidarasheed commented 7 months ago

case reference

nidarasheed commented 6 months ago

case reference

goldeninetz commented 1 month ago

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?