# Bug JIM-323 - Error message is inaccurate when user tests connection with a non-admin PAT

Project: Stream Jira to OpenProject data Migrator
Status: in development
URL: https://community.openproject.org/work_packages/JIM-323

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | High |
| Module | Integrations / Jira |
| Target versions | 18.1.0 |
| Observed in versions | 18.0.0 |
| Sprint | 02.12.-08.12.2026 |
| Backlog bucket |  |
| Bug found in version (deprecated) |  |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee | Alfonso Mancilla |
| Accountable |  |
| Product manager |  |
| Developers | Alfonso Mancilla |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Go to Administration &gt; Import
    
2.  Create a new Jira configuration
    
3.  On the config screen, select PAT
    
4.  Add a PAT from a non-admin user on Jira
    
5.  Click on &#x27;Test connection&#x27;
    

### What is the buggy behaviour?

*   Error message is not according to the spec
    

### What is the expected behaviour?

1.  As per the spec, error message should be
    

> Personal Access Token must be an admin token.

<br>

**NOTE:** The inaccurate messages reported here no longer exists because connection error handling was moved to health reports. Instead, the &quot;Jira administrator&quot; check in the authorization group of the health report, should fail.

<img class="image_resized op-uc-image op-uc-image_inline" style="width:401px;" src="/api/v3/attachments/927650/content">

<br>

###   

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/927114/content">

### Environment information

**OpenProject version**

Core build

[a997f39fba84845fe69a3169fc00e065547adaa6](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommit%2Fa997f39fba84845fe69a3169fc00e065547adaa6)

Product version

[ff3e77f4886b9ea9591ab776d18c039e67b364de](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommit%2Fff3e77f4886b9ea9591ab776d18c039e67b364de)

Core version

OpenProject 18.0.0

**Browser**

*   [ ] Chrome
*   [x] Firefox
*   [ ] Safari
*   [ ] Mobile Safari
*   [ ] Other (please specify)

**Operating System**

*   [x] Windows
*   [ ] Mac OS X
*   [ ] Mobile iOS
*   [ ] Mobile Android
*   [ ] Linux (please specify distro)
*   [ ] Chrome OS
*   [ ] Other (please specify)
