Gadgets Showing Incorrect Issue Count for Versions

お困りですか?

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

コミュニティに質問

症状

A gadget's issue count when filtering by Versions does not match the actual issues returned when viewing the filter.

原因

From the database end, tickets are linked to versions that may not actually exist.

ソリューション

This will have to be resolved from the database side:

Backup the database before attempting any changes.

  • First verify if there are issues associated with non-existing versions:
  • Query to see if any defined Fix Versions do not actually exist:

    select count(*) from nodeassociation where sink_node_id not in (select id from projectversion) and association_type = 'IssueFixVersion';
  • Query to see if any defined Affects Versions do not actually exist:

    select count(*) from nodeassociation where sink_node_id not in (select id from projectversion) and association_type = 'IssueVersion';
  • If either of the above query return results, then that is verification of issues associated with non-existent versions.
  • At this point, a DELETE statement can be run to remove these invalid entries.
最終更新日: 2016 年 2 月 26 日

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

はい
いいえ
この記事についてのフィードバックを送信する
Powered by Confluence and Scroll Viewport.