Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. The plugin finds the currently active task mapping strategy (see the Choosing Task Mapping strategy user guide)
    1. If the active mapping strategy is "Issue is a task" strategy, then
      1. The plugin inspects every Jira-project (or Issue Filter) in the projects mapping
      2. For each one, the plugin looks up the Issues 
        Let's call these Issues the Found Issues.
      3. The plugin tries to find a corresponding task to each of the Found Issue with the help of internal issues to tasks mapping
      4. If for some Found Issues there were not found any 
        Tasks, they are created and added to the internal issues to tasks mapping.
      5. The plugin updates all the tasks from the internal issues to tasks mapping
      6. The plugin finds all the worklogs in each found issue 
        Let's call these worklogs the Found worklogs.
      7. The plugin tries to find a corresponding worklog to each of the Found worklogs with the help of internal worklogs to time entries mapping
      8. If for some Found worklogs there were not found
  2. any 
    time
      1. any time entries, they are created and added to
  3. the 
    internal
      1. the internal worklogs to time entries
  4. mappingThe
      1. mappingThe plugin updates all the time entries from
  5. the 
    internal
      1. the internal worklogs to time entries mapping 
        The resulting time entry (worklog in FreshBooks) consists of:
        1. time spent from the worklog found in internal worklog mapping
        2. date from the worklog found in internal worklog mapping
        3. staff (as author of the time entry), which corresponds to worklog author,
  6.  
    if
        1.  if none found the default Freshbooks staff is used
        2. task gotten from Task mapping
      1. All the worklogs to time entries maps from
  7. the 
    internal
      1. the internal mapping, worklogs from which do
  8. not 
    exist
      1. not exist anymore are deleted, and the time
  9. entries 
    from
      1. entries from them are deleted from FreshBooks
    1. If the active mapping strategy is "Issues are a task..." strategy, then
      1. The plugin inspects every jira issue filter from the task mapping
      2. The plugin finds all the issues from them.
      3. For each of the found issues, the plugin finds the corresponding task and updates it
      4. For each of the found issues the plugin finds
  10. the 
    worklogs
      1. the worklogs (the worklogs for the issue)
      2. For each of the found worklogs, the plugin tries
  11. to 
    find
      1. to find the corresponding time entry
      2. If for all the Found worklogs there were not found
  12. any 
    time
      1. any time entry, it is created and added to
  13. the 
    internal
      1. the internal worklogs to time entry mapping
      2. If for some of the Found worklogs there were not
  14. found 
    any
      1. found any maps, the maps are created and added to
  15. the 
    internal
      1. the internal worklogs to time entry mapping
      2. The plugin updates all the time entries from
  16. the 
    internal
      1. the internal worklogs to time entries mapping 
        The resulting time entry (worklog in FreshBooks) consists of:
        1. notes from issue summary
        2. summed time spent for all the worklogs in the issue
        3. maximal date from all the worklogs in the issue
        4. staff (as author of the time entry), which corresponds to issue assignee 
          if none found the default Freshbooks staff is used
        5. task gotten from Task mapping
      2. All the worklogs to time entries maps from
  17. the 
    internal
      1. the internal mapping, worklogs from which do
  18. not 
    exist
      1. not exist anymore are deleted, and the time
  19. entries 
    from
      1. entries from them are deleted from FreshBooks