When importing issues from a Jira project to Craft.io, you can select one out of 2 options:
Sync all open issues - Will sync all existing issues from your Jira project (except for closed issues)
Sync issues matching JQL (=Jira Query Language) - Will sync only specific issues from Jira according to pre-defined filters that will be created using JQL
In order to Import issues from Jira, go to Settings -> Integrations, and then click on the 3 dots button next to the relevant Jira project name, and select 'Sync from Jira' from the menu.
Then, click on the top drop-down menu, and assuming you want to sync only specific issues, select: "Sync issues matching JQL", insert the desired query, and click 'Sync'.
When selecting "Sync Issues matching JQL", you can control exactly which issues you’d like to import from your Jira project (including closed issues), using a Jira Query Language (JQL) query.
For example, in order to sync closed issues, you can include the following query:
Status = "Done".
Important note: Before using your query in Craft.io, we highly recommend running a dry run of the query in Jira first.