Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Estate Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Connector
  3. JIRA Connector v 13.0
  4. Sales Conditions FAQ

JIRA Connector

by Camptocamp https://github.com/OCA/connector-jira , Odoo Community Association (OCA) https://github.com/OCA/connector-jira
Odoo
v 13.0 Third Party 167
Download for v 13.0 Deploy on Odoo.sh
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • Project (project)
• Discuss (mail)
• Employees (hr)
Community Apps Dependencies Show
• Connector
• Job Queue
• Multi-Steps Wizards
• Web URL widget advanced
• Components
• Components Events
Lines of code 8757
Technical Name connector_jira
LicenseAGPL-3
Websitehttps://github.com/OCA/connector-jira
Versions 11.0 12.0 13.0
You bought this module and need support? Click here!

JIRA Connector

Beta License: AGPL-3 OCA/connector-jira Translate me on Weblate Try me on Runboat

This module adds Jira synchronization feature.

Table of contents

  • Installation
    • Job Queue
    • Backend
    • Authentication of Backend
    • Configuration of the Backend
  • Usage
    • Initial synchronizations
    • Create and export a project
    • Link a project with JIRA
    • Issue Types on Projects
    • Change synchronization configuration on a project
    • Synchronize tasks and worklogs
  • Known issues / Roadmap
  • Bug Tracker
  • Credits
    • Authors
    • Contributors
    • Maintainers

Installation

You need the following Python packages:

  • requests
  • jira
  • oauthlib
  • requests-oauthlib
  • requests-toolbelt
  • PyJWT
  • cryptography

Once the addon is installed, follow these steps:

Job Queue

In odoo.conf, configure similarly:

[queue_job]
channels = root:1,root.connector_jira.import:2

Backend

  1. Open the menu Connectors > Jira > Backends
  2. Create a new Jira Backend
    • Put the name you want
    • Set the URL of your Jira, like https://jira.example.com
    • You can also select the company where records will be created and the default project template used when Odoo will create the projects in Jira
  3. Save and continue with the Authentication

Authentication of Backend

  1. On the created backend, click on the Authenticate button, a popup with keys will appear, keep these open in a tab
  2. Open Jira and go to System > Applications > Application links
  3. Enter the name of the application, example: odoo, and click on “Create new link”
  4. In the popup, set the URL where JIRA can reach Odoo. Jira might complain and reopen the popup, confirm it again and a new popup appears
  5. In the new popup, do not set anything in the fields and click on Continue
  6. The link should be created now, edit it with the pen on the right
  7. Open the Incoming Authentication panel, be warned that it may take some time to load
  8. Copy-paste the consumer key and public key from Odoo to the Jira link’s Incoming Authentication. Set a consumer name (e.g. odoo) and leave the consumer callback url and 2 legged auth blank.
  9. Click on save at the bottom of the form (you need to scroll)
  10. Back on Odoo, click on Continue
  11. A link is displayed, click on it - you may need to login again - and click on “Allow”.
  12. Back on Odoo again, click on Continue
  13. Authentication is complete!

Configuration of the Backend

Setup the webhooks

It is advised to setup the webhooks so the synchronizations are in realtime.

  1. On the Jira Backend, set the “Base Odoo URL for Webhooks” to URL of Odoo, it must be reachable from Jira.
  2. Click on “Install Webhooks”

Configure the Epic Link

If you use Epics, you need to click on “Configure Epic Link”, Odoo will search the name of the custom field used for the Epic Link.

Configuration done

You can now click on the button “Configuration Done”.

Usage

The tasks and worklogs are always imported from JIRA to Odoo, there is no synchronization in the other direction.

Initial synchronizations

You can already select the “Imports” tab in the Backend and click on “Link users” and “Import issue types”. The users will be matched either by login or by email.

Create and export a project

Projects can be created in Odoo and exported to Jira. You can then create a project, and use the action “Link with JIRA” and use the “Export to JIRA” action.

When you choose to export a project to JIRA, if you change the name or the key of the project, the new values will be pushed to JIRA.

Link a project with JIRA

If you already have a project on JIRA or prefer to create it first on JIRA, you can link an Odoo project. Use the “Link with JIRA” action on the project and select the “Link with JIRA” action.

This action establish the link, then changes of the name or the key on either side are not pushed.

Issue Types on Projects

When you link a project, you have to select which issue types are synchronized. Only tasks of the selected types will be created in Odoo.

If a JIRA worklog is added to a type of issue that is not synchronized, will attach to the closest task following these rules:

  • if a subtask, find the parent task
  • if no parent task, find the epic task (only if it is on the same project)
  • if no epic, attach to the project without being linked to a task

Change synchronization configuration on a project

If you want to change the configuration of a project, such as which issue types are synchronized, you can open the “Connector” tab in the project settings and edit the “binding” with the backend.

Synchronize tasks and worklogs

If the webhooks are active, as soon as they are created in Jira they should appear in Odoo. If they are not active, you can open the Jira Backend and run the synchronizations manually, or activate the Scheduled Actions to run the batch imports. It is important to select the issue types so don’t miss this step (need improvement).

Known issues / Roadmap

  • If an odoo user has no linked employee, worklogs will still be imported but with no employee.

Allowing several bindings per project

The design evolved to allow more than one Jira binding per project in Odoo. This conveniently allows to fetch tasks and worklogs for many projects in Jira, which will be tracked in only one project in Odoo.

In order to push data to Jira, we have to apply restrictions on these “multi-bindings” projects, as we cannot know to which binding data must be pushed:

  • Not more than one project (can be zero) can have a “Sync Action” set to “Export to JIRA”. As this configuration pushes the name and key of the project to Jira, we cannot push it to more than one project.
  • If we implement push of tasks to Jira, we’ll have to add a way to restrict or choose to which project we push the task, this is not supported yet (for instance, add a Boolean “export tasks” on the project binding, or explicitly select the target binding on the task)

Bug Tracker

Bugs are tracked on GitHub Issues. In case of trouble, please check there if your issue has already been reported. If you spotted it first, help us to smash it by providing a detailed and welcomed feedback.

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

Credits

Authors

  • Camptocamp

Contributors

  • Guewen Baconnier <guewen.baconnier@camptocamp.com>
  • Akim Juillerat <akim.juillerat@camptocamp.com>
  • Damien Crier
  • Patrick Tombez <patrick.tombez@camptocamp.com>
  • Thierry Ducrest
  • Timon Tschanz <timon.tschanz@camptocamp.com>
  • jcoux <julien.coux@camptocamp.com>
  • Tonow-c2c
  • Simone Orsi <simahawk@gmail.com>
  • CorporateHub
    • Alexey Pelykh <alexey.pelykh@corphub.eu>

Maintainers

This module is maintained by the OCA.

Odoo Community Association

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 project on GitHub.

You are welcome to contribute. To learn how please visit https://odoo-community.org/page/Contribute.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author, please use the developer contact information. They can usually be found in the description.
Please choose a rating from 1 to 5 for this module.
  • Ratings
  • Discuss
There are no ratings yet!
by
kang zuo
on 2/14/22, 2:15 AM

能出一份使用视频吗 ,不会用


by
kang zuo
on 2/10/22, 1:55 AM

能支持odoo 14 吗


Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with