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