Integration with Jira

The Jira integration shows Jira tasks in the FlexiProject project schedule. Each project can pull tasks from one or several Jira projects. The list of pulled tasks can be narrowed by task types or a JQL filter.

Jira tasks in the schedule are synchronized with Jira periodically, and their fields are read-only.

An administrator switches the integration on and configures it in the System settings menu, on the Jira tab (see System settings). Linking Jira users with FlexiProject users makes it possible to show the owners of Jira tasks in the schedule and in the resource workload.

Connecting to Jira

The connection key in Jira

  1. In Jira, click the avatar in the top right corner and choose Manage your account. The account page opens.
  2. Go to the Security tab and, in the API token section, click Create and manage API tokens. The list of tokens is displayed.
  3. Click Create API token, enter a name (for example “FlexiProject”) and click Create. Jira generates the key.
  4. Copy the generated key. Jira shows it only once.

Switching the integration on in FlexiProject

  1. In the main menu, choose System settings and go to the Jira tab. The Jira integration page is displayed.
  2. Switch the integration to Enable. The connection fields appear.
  3. Enter the Server address, that is, the address at which your organization’s Jira opens, for example https://name.atlassian.net.
  4. Enter the User email. It must be the email address the person who generated the key signs in to Jira with.
  5. Paste the copied key in the Key field.
  6. Click Save. The system checks that the server is available and saves the settings: it displays the message Changes saved. For an incorrect server address, it displays the message: Invalid Jira server address

To check the connection status at any time, click Test connection. The system displays the message: Connection to Jira server is valid or Failed to connect to Jira server

System settings, Jira tab with the server address, user e-mail and key fields and the Test connection button highlighted

Warning: Switching the integration off with Disable removes all links of projects with Jira and all Jira tasks from schedules. This cannot be undone, and switching it on again requires linking the projects again.

Linking Jira users

Under the connection parameters is the Users table with the columns Jira name, Jira Id and User (the linked FlexiProject user). A filter above the table narrows the list.

With the integration on, FlexiProject periodically pulls users from Jira and links them with FlexiProject users by matching email addresses. When Jira shares an email address and the same address exists in FlexiProject, the avatar and name of the linked user appear next to the Jira name. Jira users without a shared email address are not pulled.

Whether Jira shares addresses depends on its global security settings and on the Jira user’s privacy settings.

Jira tab with the Importing Jira users button and the Users table with Jira name, Jira Id and User columns highlighted

Important: Links created automatically are updated automatically. Links added manually are not updated by the system, so after a change of surname or email address you have to correct them by hand.

Linking manually

  1. Point at a row without a linked user and click the three-dot icon next to the row.
  2. Choose Connect. The User link window opens.
  3. Choose the FlexiProject user and click Save. The link appears in the row.

Removing a link

  1. Point at a row with a linked user and click the three-dot icon next to the row.
  2. Choose Disconnect. The Remove the link window opens with the question Are you sure you want to remove the link?
  3. Click Save. The system removes the link.

Importing the list of Jira users

  1. Generate a CSV file of users in the Atlassian administration panel (admin.atlassian.com), on the users tab, with the export command. The file must contain the fields User id, User name and email.
  2. Click Importing Jira users under the table header. The import window opens.
  3. Choose the file or drag it into the window and click Save. The list of Jira users is updated, and the links found are filled in automatically.

The rules for reading the file are:

  • Only a file in the .csv format is allowed.
  • The maximum file size is 25 MB.
  • Rows with incorrect values are skipped, and the system lists them after the import.

Jira tasks in the project schedule

Linking a project with Jira

  1. Open the project and go to the Schedule tab.
  2. Click Settings and choose Jira connection (the item is visible once the integration is on). The Jira integration window opens.
  3. Enter the Jira Project key. To pull tasks from several Jira projects, enter the keys separated by commas.
  4. Click Link with Jira. The Jira import window opens.
  5. In the Data download part, choose how to pull data: Type of tasks (only with one Jira project) or JQL filter (see JQL filter).
  6. For Type of tasks, tick the task types on the hierarchy levels (at least one is required) and click Save. Jira tasks appear in the project schedule with the hierarchy from Jira preserved.

After a successful download, Jira tasks are visible in the project, and a Jira icon appears next to the project name. Clicking it opens the Jira project in a new tab.

When no task type is ticked, the system displays the message: At least one level must be marked. When the key does not exist or you have no access to the project, the system displays the message: Invalid project key, project does not exist or you don’t have access to it

Jira integration window of a project with the Project key field and the Link with Jira button highlighted

Changing how tasks are pulled

In an already linked project, choose Jira connection. The Jira import window opens, where you can change the task types or the JQL query.

Removing Jira tasks from a project

  1. Choose Jira connection. The Jira import window opens.
  2. Click Delete and confirm in the Delete link to Jira window. The system displays a warning that deleting the link deletes all the links on the schedule and that it is irreversible.

After deletion, Jira tasks disappear from the schedule, and the project is no longer marked as connected to Jira.

JQL filter

JQL (Jira Query Language) lets you pull into a project exactly the Jira tasks you need, also from several Jira projects at once.

  1. In Jira, in the Filters tool, prepare a filter. The JQL code is visible after you switch the filter view from basic to JQL.
  2. Copy the JQL code.
  3. In FlexiProject, in the Jira import window, choose JQL filter and paste the code into the text field.
  4. Click Save. Tasks that meet the filter reach the schedule.

For a syntax error in the query, the system displays the message: Error in JQL query

Important: The filter only affects which tasks reach the schedule. At every synchronization, tasks outside the filter result disappear from the schedule.

Jira tasks in the schedule

Jira tasks land at the end of the schedule with their structure preserved and carry a Jira icon in the schedule. They are updated in a periodic synchronization.

The fields that come from Jira are read-only. They are Name, Description, Progress, Owner and the task hierarchy.

The following restrictions apply to such tasks:

  • The progress and owners of the task cannot be changed (messages It is not possible to change the status of tasks originating from Jira and It is not possible to change the owners of tasks originating from Jira).
  • Such tasks are not copied when a project is cloned.
  • A Jira task cannot be a parent of FlexiProject tasks.

The order of tasks under a Jira parent task can be changed. Jira summary tasks with their subtasks can be inserted into the schedule structure.

For a linked project, the schedule has three extra columns: Jira Id (a click opens the task in Jira in a new tab), Jira Status and Jira Type.

Important: The progress of a task follows from the status category in Jira: to do is 0%, in progress is 50%, done is 100%.

The task owner comes from the user linking (see Linking Jira users). When a Jira user is linked with a FlexiProject user, the schedule shows their avatar and name, and the user is added to the project. Without a link, a gray avatar icon with the Jira name is shown.

The schedule is described in Project schedule.