# Unable to create Jira issue from Confluence page due to unsupported Jira version error

#### お困りですか?

アトラシアン コミュニティをご利用ください。

コミュニティに質問

プラットフォームについて: Server と Data Center のみ - この記事は、サーバーおよびデータセンター プラットフォームのアトラシアン製品にのみ適用されます。

## 問題

Unable to create Jira issue from Confluence page due to an error, "The version of selected Jira server is not supported...".

## 診断

• Confluence server is integrated with two or more Jira servers

1. Make sure that you have a permission to create issues on the target Jira instance
2. Navigate to Confluence administrations > Cache Statistics > Jira Resources Manager and flush the cache
3. Navigate to the Confluence page again and make sure now you are able to create issue from there

## 原因

This problem is caused by a Confluence bug,  CONFSERVER-55923 - Getting issue details... STATUS .

When creating Jira issue from Confluence page, Confluence caches the access from itself to Jira instance.
Once the cashes are created by a user who is not allowed to access some of the integrated Jira instances, the other users also become unable to create issues on them from Confluence page because of the unintended caches.

## 回避策

The caches are automatically refreshed if there has been no access for an hour. Considering this spec, there are two possible workarounds.

### 1. Never to use the caches for JIRA access

Configure Confluence not to use the caches anymore.

1. Navigate to Confluence administrations > Cache Statistics > Jira Resources Manager and flush the cache
2. Change the cache size to "1" with following the information in Cache Performance Tuning

Please be careful to use this workaround. This workaround will increase number of accesses and may cause some performance problem.

### 2. Delete the problematic caches and create appropriate ones periodically

Executing the following commands periodically (the interval should be less than one hour) by some scheduled job (e.g. cron program)  to delete the problematic caches and create appropriate ones.

curl -u <user>:<pass> 'http://<jira-base-url>/rest/cacheManagement/1.0/cacheEntries' -X DELETE --data 'cacheName=com.atlassian.confluence.plugins.createjiracontent.CachedJiraResourcesManager'
curl -u <user>:<pass> 'http://<jira-base-url>/rest/createjiracontent/1.0/get-jira-servers'

Please replace <user><pass> with a credential of a Confluence admin user who has accesses of all the integrated Jira instances.

この内容はお役に立ちましたか?

はい
いいえ
この記事についてのフィードバックを送信する