Skip to content

Commit

Permalink
Merge PR #77 into 15.0
Browse files Browse the repository at this point in the history
Signed-off-by leemannd
  • Loading branch information
OCA-git-bot committed Jul 20, 2022
2 parents fc29505 + 4e37a8e commit 38c5fe4
Show file tree
Hide file tree
Showing 36 changed files with 2,432 additions and 0 deletions.
131 changes: 131 additions & 0 deletions connector_jira_servicedesk/README.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
=======================================
JIRA Connector - Service Desk Extension
=======================================

.. !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!! This file is generated by oca-gen-addon-readme !!
!! changes will be overwritten. !!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
.. |badge1| image:: https://img.shields.io/badge/maturity-Beta-yellow.png
:target: https://odoo-community.org/page/development-status
:alt: Beta
.. |badge2| image:: https://img.shields.io/badge/licence-AGPL--3-blue.png
:target: http://www.gnu.org/licenses/agpl-3.0-standalone.html
:alt: License: AGPL-3
.. |badge3| image:: https://img.shields.io/badge/github-OCA%2Fconnector--jira-lightgray.png?logo=github
:target: https://github.com/OCA/connector-jira/tree/15.0/connector_jira_servicedesk
:alt: OCA/connector-jira
.. |badge4| image:: https://img.shields.io/badge/weblate-Translate%20me-F47D42.png
:target: https://translation.odoo-community.org/projects/connector-jira-15-0/connector-jira-15-0-connector_jira_servicedesk
:alt: Translate me on Weblate
.. |badge5| image:: https://img.shields.io/badge/runbot-Try%20me-875A7B.png
:target: https://runbot.odoo-community.org/runbot/233/15.0
:alt: Try me on Runbot

|badge1| |badge2| |badge3| |badge4| |badge5|

This module add support with jira servicedesk

**Table of contents**

.. contents::
:local:

Usage
=====

Setup
~~~~~

A new button is added on the JIRA backend, to import the organizations
of JIRA. Before, be sure to use the button "Configure Organization Link"
in the "Advanced Configuration" tab.


Features
~~~~~~~~

Organizations
~~~~~~~~~~~~~

On Service Desk, you can share projects with Organizations.
You may want to use different Odoo projects according to the
organizations. This is what this extension allows.

Example:

* You have one Service Desk project named "Earth Project" with key EARTH
* On JIRA SD You share this project with organizations Themis and Rhea
* However on Odoo, you want to track the hours differently for Themis and Rhea

Steps on Odoo:

* Create a Themis project, use the "Link with JIRA" action with the key EARTH
* When you hit Next, the organization(s) you want to link must be set
* Repeat with another project for Rhea

If the project binding for the synchronization already exists, you can still edit it in the settings of the project and change the organizations.

When a task or worklog is imported, it will search for a project having
exactly the same set of organizations than the one of the task. If no
project with the same set is found and you have a project configured
without organization, the task will be linked to it.

This means that, on Odoo, you can have shared project altogether with dedicated
ones, while you only have one project on JIRA.

* Tasks with org "Themis" will be attached to this project
* Tasks with org "Rhea" will be attached to this project
* Tasks with orgs "Themis" and "Rhea" will be attached to another project "Themis and Rhea"
* The rest of the tasks will be attached to a fourth project (configured without organizations)

Bug Tracker
===========

Bugs are tracked on `GitHub Issues <https://github.com/OCA/connector-jira/issues>`_.
In case of trouble, please check there if your issue has already been reported.
If you spotted it first, help us smashing it by providing a detailed and welcomed
`feedback <https://github.com/OCA/connector-jira/issues/new?body=module:%20connector_jira_servicedesk%0Aversion:%2015.0%0A%0A**Steps%20to%20reproduce**%0A-%20...%0A%0A**Current%20behavior**%0A%0A**Expected%20behavior**>`_.

Do not contact contributors directly about support or help with technical issues.

Credits
=======

Authors
~~~~~~~

* Camptocamp

Contributors
~~~~~~~~~~~~

* Jaime Arroyo
* `Camptocamp <https://camptocamp.com>`_:

* Patrick Tombez <patrick.tombez@camptocamp.com>
* Guewen Baconnier <guewen.baconnier@camptocamp.com>
* Akim Juillerat <akim.juillerat@camptocamp.com>
* Denis Leemann <denis.leemann@camptocamp.com>

* `Trobz <https://trobz.com>`_:

* Son Ho <sonhd@trobz.com>

Maintainers
~~~~~~~~~~~

This module is maintained by the OCA.

.. image:: https://odoo-community.org/logo.png
:alt: Odoo Community Association
:target: https://odoo-community.org

OCA, or the Odoo Community Association, is a nonprofit organization whose
mission is to support the collaborative development of Odoo features and
promote its widespread use.

This module is part of the `OCA/connector-jira <https://github.com/OCA/connector-jira/tree/15.0/connector_jira_servicedesk>`_ project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.
1 change: 1 addition & 0 deletions connector_jira_servicedesk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
from . import models
18 changes: 18 additions & 0 deletions connector_jira_servicedesk/__manifest__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl.html)

{
"name": "JIRA Connector - Service Desk Extension",
"version": "15.0.1.0.0",
"author": "Camptocamp,Odoo Community Association (OCA)",
"license": "AGPL-3",
"category": "Connector",
"depends": ["connector_jira"],
"website": "https://github.com/OCA/connector-jira",
"data": [
"views/jira_backend_views.xml",
"views/project_project_views.xml",
"views/project_link_jira_views.xml",
"security/ir.model.access.csv",
],
"installable": True,
}
212 changes: 212 additions & 0 deletions connector_jira_servicedesk/i18n/connector_jira_servicedesk.pot
Original file line number Diff line number Diff line change
@@ -0,0 +1,212 @@
# Translation of Odoo Server.
# This file contains the translation of the following modules:
# * connector_jira_servicedesk
#
msgid ""
msgstr ""
"Project-Id-Version: Odoo Server 13.0\n"
"Report-Msgid-Bugs-To: \n"
"Last-Translator: \n"
"Language-Team: \n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: \n"
"Plural-Forms: \n"

#. module: connector_jira_servicedesk
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.view_jira_backend_form
msgid ""
"Activate the synchronization of the Organization field.\n"
" Only on JIRA ServiceDesk. The field contains the name of\n"
" the JIRA custom field that contains the Organization."
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_account_analytic_line
msgid "Analytic Line"
msgstr ""

#. module: connector_jira_servicedesk
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.view_jira_backend_form
msgid "Configure Organization"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__create_uid
msgid "Created by"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__create_date
msgid "Created on"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__display_name
msgid "Display Name"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__id
msgid "ID"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__external_id
msgid "ID on Jira"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,help:connector_jira_servicedesk.field_jira_project_base_mixin__organization_ids
#: model:ir.model.fields,help:connector_jira_servicedesk.field_jira_project_project__organization_ids
#: model:ir.model.fields,help:connector_jira_servicedesk.field_project_link_jira__organization_ids
msgid ""
"If organizations are set, a task will be added to the project only if the "
"project AND the organization match with the selection."
msgstr ""

#. module: connector_jira_servicedesk
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.view_jira_backend_form
msgid "Import Organizations"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_jira_project_base_mixin
msgid "JIRA Project Base Mixin"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_jira_backend
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__backend_id
msgid "Jira Backend"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_jira_organization
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.view_jira_backend_form
msgid "Jira Organization"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_jira_project_project
msgid "Jira Projects"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__jira_updated_at
msgid "Jira Updated At"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_jira_account_analytic_line
msgid "Jira Worklog"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization____last_update
msgid "Last Modified on"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__write_uid
msgid "Last Updated by"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__write_date
msgid "Last Updated on"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__sync_date
msgid "Last synchronization date"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model,name:connector_jira_servicedesk.model_project_link_jira
msgid "Link Project with JIRA"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__name
msgid "Name"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_backend__organization_field_name
msgid "Organization Field"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_project_base_mixin__organization_ids
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_project_project__organization_ids
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_project_link_jira__organization_ids
msgid "Organization(s) on Jira"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_backend__organization_ids
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.view_jira_backend_form
msgid "Organizations"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_account_analytic_line__jira_servicedesk_issue_url
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_account_analytic_line__jira_servicedesk_issue_url
msgid "Original JIRA service desk issue Link"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_organization__project_ids
msgid "Project"
msgstr ""

#. module: connector_jira_servicedesk
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.view_jira_backend_form
msgid "Run"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,field_description:connector_jira_servicedesk.field_jira_project_project__servicedesk_customer_portal_number
msgid "Service desk customer portal ID"
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,help:connector_jira_servicedesk.field_jira_backend__organization_field_name
msgid ""
"The 'Organization' field on JIRA is a custom field. The name of the field is"
" something like 'customfield_10002'. "
msgstr ""

#. module: connector_jira_servicedesk
#: model_terms:ir.ui.view,arch_db:connector_jira_servicedesk.project_link_jira_form
msgid ""
"The organizations you choose will define how the tasks and\n"
" worklogs are attached to the project.\n"
" If a task is assigned to an organization, it will be assigned\n"
" to an Odoo project linked to the JIRA project only if the\n"
" organization match. If no project with an organization exists,\n"
" the task will be assigned to a linked project without organization.\n"
" If no such project exists in Odoo, the task is ignored."
msgstr ""

#. module: connector_jira_servicedesk
#: code:addons/connector_jira_servicedesk/models/project_project/common.py:0
#, python-format
msgid ""
"The project %s is already linked with the same JIRA project without "
"organization."
msgstr ""

#. module: connector_jira_servicedesk
#: code:addons/connector_jira_servicedesk/models/project_project/common.py:0
#, python-format
msgid ""
"The project %s is already linked with this JIRA project and similar "
"organizations."
msgstr ""

#. module: connector_jira_servicedesk
#: model:ir.model.fields,help:connector_jira_servicedesk.field_jira_project_project__servicedesk_customer_portal_number
msgid "This number is used to compute servicedesk URL on analytic lines"
msgstr ""
5 changes: 5 additions & 0 deletions connector_jira_servicedesk/models/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
from . import account_analytic_line
from . import jira_backend
from . import project_project
from . import jira_organization
from . import project_task
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
from . import common
from . import importer

0 comments on commit 38c5fe4

Please sign in to comment.