User Rating: 5 / 5

Star ActiveStar ActiveStar ActiveStar ActiveStar Active

Article Index

I've integrated my work environment around Eclipse while developing with multiple programming languages. Python is not the exception.

This time I've created a small tutorial on how to setup the Eclipse IDE to support Python, Git and Attlassian JIRA for ticket associated to code features and bugfixes.

The following instructions have been validated using the latest (at the moment of this writing) version of Eclipse Oxygen 4.7.2

Eclipse Installation:

- Pre-Requisites: Java RE 8.x installed on the system.

  1. Go to and download the eclipse installer.
  2. Launch the eclipse installer.
  3. Navigate the options available and select "Eclipse Platform".
  4. Use the default setup values.
  5. Select "Install".

Eclipse Marketplace Setup:

  1.  Launch Eclipse.
  2. Select Help->Install New Software.
  3. In "Work with:",  select "--All Available Sites--".
  4. Wait for Eclipse to download the component information.
  5. In the filter text area type "Marketplace".
  6. From the results select "General Purpose Tools" / "Marketplace Client".
  7. Click "Next".
  8. Click "Next".
  9. Accept the license agreement and click "Finish".
  10. After the software is installer, select "Restart Now".

Eclipse PyDev Setup:

- Pre-Requisite to have Python 3.6 installed.

  1. Select Help->Eclipse Marketplace.
  2. Type "PyDev" in the Find text area.
  3. Click the "Install" button.
  4. Verify all the components are selected then click "Confirm" button.
  5. Accept the license agreement, then click "Finish".
  6. Select "Install anyway" on pop-up window about unsigned content.
  7. Select "Brainwy Software; PyDev; Brainwy" and click "Accept selected" button.
  8. Click "Restart now" on the pop-up about software updates.

Eclipse Git Setup:

  1. Select Help->Eclipse Marketplace.
  2. Type "eGit" on the Find text area.
  3. Click the "Install" button from the "EGit - Git Integration for Eclipse" option.
  4. Select all components then click "Config" button.
  5. Accept the license agreement and click "Finish".
  6. Click "Restart now" on the pop-up about software updates.

Eclipse JIRA Setup:

  1. Close/Exit Eclipse.
  2. IF your site is using a local generated SSL Root CA certificate, download the certificate into:


  3. Verify your java installation folder is configured in your PATH.
  4. Import the  Root Certificate into Java KeyStore using command prompt:

    cd $JAVA_HOME/jre/bin
    ./keytool -importcert -trustcacerts -keystore ../lib/security/cacerts -file /tmp/my_jira_server_cert.crt -v

    * Default password is 'changeit'

  5. Start Eclipse.
  6. Select Help->Install New Software
  7. Click "Add" button.
  8. Enter name "Atlassian" and Location:
  9. Click "OK" button.
  10. Wait for Eclipse to download the information.
  11. Select "Atlassian Connector" and click "Next" button.
  12. Click "Next" button.
  13. Select accept the license agreement and click "Finish" button.
  14. Click "Install anyway" button in the Security Warning pop-up.
  15. Click "Restart now" in the Software Updates pop-up.

Eclipse PyDev Configuration:

  1. Select Window->Preferences.
  2. Go to PyDev->Interpreters->Python Interpreters
  3. Click "Quick Auto-Config" button.
  4. Verify the Python path to your installed binary is populated, otherwise click "New" and browse to the Python 3.6 binary.
  5. Click "Apply and Close" button.
  6. Wait for Eclipse to discover the Python libraries.
  7. On the "Preference Synchronization" pop-up window, select "No" and click "OK" button.
  8. On the "Preference Recorder" window, click "OK" button.

Eclipse Import Git Project:

  1. Select File->Import
  2. Select Git->Projects from Git, then click "Next" button.
  3. Select "Clone URI", then click "Next" button.
  4. On the "Import Projects from Git", enter the git repository information, then click "Next" button.
  5. Select a branch to checkout, then click "Next" button.
  6. Define an Project directory inside the "Workspace" folder, ei.  ~/workspace/MyProject
  7. Click the "Next" button.
  8. Wait while Eclipse imports the git repo and branch.
  9. Select "Import using the New Project Wizard"
  10. Click "Finish" button.
  11. On the "New Project" window, select "PyDev Project" and click "Next" button.
  12. Enter project name "MyProject", click "Finish" button.
  13. If prompted, click "Open Perspective" button.
  14. On the Package Explorer, select "MyProject"
  15. Select menu "Project->Properties".
  16. Select "PyDev - PYTHONPATH".
  17. Select "Add source folder" button.
  18. Select MTFpy->lib, then click "OK" button.
  19. Click "Apply and Close" button.

Eclipse JIRA Configuration:

  1. Select Window->Show View->Other.
  2. Select Mylyn->Task Repositories. click "Open" button.
  3. Once the view opens, select the icon to "Add Task Repository".
  4. Select "JIRA (supports 5.0 and later)" in the Add Task Repository op-up and click "Next".
  5. Enter the URL information of your JIRA server:

       Server: https://your.jira.server/jira

       Label: JIRA

       User ID: <Your JIRA username>

       Password: <Your JIRA password>

  6. Click "Validate Settings" button.

    If an error about possible use of captcha show up, you need to login into JIRA, go to your profile and click on "Reset Failed Login Count".
    Go back and try again to click on "Validate Settings".

  7. Select "Keep current location" on the Select repository location pop-up.
  8. Click "OK" button.
  9. Click "Finish" button.
  10. On the Task Repositories view, Right-Click on "JIRA" and select "New Query".
  11. Wait for Eclipse to load the existing configuration from your JIRA profile.
  12. Select "Predefined filter for selected project".
  13. On the options below search and select an existing query.
  14. On the options to the right pane select "Assigned to me"
  15. Click "Finish" button.
  16. Wait for Eclipse to sync all the JIRAS.
  17. Select Window->Show View->Other.
  18. Select Mylyn->Task List and click "Open".