Synchronizing PSA Project Tasks to Jira Issues
If you enabled the Sync Project Tasks from PSA to Issues in Jira workflow via the Feature Console, eligible project tasks are automatically synchronized to Jira. A project task is eligible for syncing if all of the following are true:
- The Jira Issue Type Category and Jira Issue Type fields are populated.
- The related project is linked to a Jira project or Jira issue.
- If the project task is a child task, its parent task must be linked to a Jira issue.
- The Sync with Jira checkbox is selected.
When you create a project task in PSA, the connector creates a new Jira issue with the information listed below. Similarly, when you edit an eligible project task in PSA, the connector updates the related issue in Jira.
Key: * – Mandatory field
PSA Project Field |
Jira Issue Field |
---|---|
Project Task Name * | Summary |
Estimated Hours | Original Estimate |
Long Description | Description |
Priority | Priority |
Status | Status |
When the issue is created in Jira, the Jira Correlation ID of the project task is automatically populated with the issue key.
The issue is created in Jira with the default status defined for that issue type and project, through the associated issue workflow. This is standard Jira functionality. If the status you set for the project task isn't converted to the default status in Jira, after creating the issue, the connector immediately tries to update the status. If the new status is a valid transition for that issue workflow, the status is updated accordingly. If the transition is not valid, the status is not updated and the connector sends an error message. For more information on issue workflows in Jira, see the Atlassian documentation.
If you create a project task hierarchy in PSA, it is reflected in Jira. Because PSA and Jira establish hierarchy in different ways, the following limitations apply:
- You must first sync the parent level project tasks before you can sync its children project tasks.
- Standard issue types, such as stories and tasks, are linked to epics using the Epic Link field in Jira. In all other cases, the hierarchy is established through the Parent Link Field mapping. To configure this mapping, see Example 3 - Map Project Task Parent Link Field, Epic Link, and Epic Name Fields.
- Sub-task issue types can be created for all standard issue types, except for epics.
- Sub-task issue types cannot be used for parent projects tasks.
- If you are mapping projects to issues, a top-level project task can be a sub-task issue type. If you are mapping projects to projects, only standard issue types can be top-level project tasks.
When you delete a project task in PSA, the related issue is automatically deleted from Jira. If the project task has child tasks that are linked to sub-task type issues in Jira, the child tasks are deleted from PSA and the sub-task issues are deleted from Jira.
If an error occurs during the synchronization, the PSA user who created, updated, or deleted the project task receives an email notification and a Foundations error message is created. In addition, in specific cases, an app log record is created for each project task that failed to sync with Jira. For more information, see Viewing Project Task to Issue Synchronization Errors.