Advanced Search for issues Autocomplete doesn't submit suggestion by a click with latest Chrome

お困りですか?

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

コミュニティに質問

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

Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.

*Fisheye および Crucible は除く

本ページの内容には、Atlassian ソフトウェアのカスタマイズや拡張 (CSS ルール、HTML、JavaScript の追加/変更など) を行う手順が含まれています。アトラシアン サポートの提供 の通り、Atlassia 製品に加えられたカスタマイズはサポートされません。この資料は情報提供のみを目的として提供されています。内容はお客様自身の責任でご利用ください。

本件またはカスタマイズに関するご質問は、コミュニティの Atlassian Answers で質問してください。または、アトラシアン ソリューション パートナー にご相談いただくことをご検討ください。

問題

When trying to perform Advanced search

    1. Click on "Search for issues"
    2. Type something that triggers the autocomplete. (For Example: Status = )
    3. Attempt to select one of the options using a mouse-click from the drop down displayed
    4. It doesn't paste the value to JQL 

診断

Using JIRA 7.1.4 to JIRA 7.2.5 versions.

When searching for issues in the JQL Advanced Mode, the Autocomplete options are not clickable by mouse. This is reproducible on:

  •  Chrome for Mac Version 54.0.2840.59 (64-bit)
  •  Chrome for Mac version 54.02840.71
  •  Version 54.0.2840.71 m
  •  Version 54.0.2840.99 m
  •  Chrome for Windows: 54.0.2840.87 m 64-bit

原因

Potentially due to the change that was made in Chrome to remove certain command - https://www.chromestatus.com/feature/5718803933560832 . There is a bug on this at  JRA-62951 - Getting issue details... STATUS

回避策

The patch may not be working on certain combination of browser + OS. (eg. Linux + Chrome)


There is a patch released on AutoComplete.js that can be replaced for the affected versions. This has been tested to work on JIRA 7.2.2

  1. Download AutoComplete.js

  2. Jira をシャットダウンします。
  3. Rename existing $JIRA_INSTALL/atlassian-jira/includes/jira/autocomplete/AutoComplete.js to AutoComplete.js.rename
  4. Copy the new AutoComplete.js to $JIRA_INSTALL/atlassian-jira/includes/jira/autocomplete/
  5. Checking for diff should return similar

    user-mbp:autocomplete user$ diff AutoComplete.js AutoComplete.js.rename
    318,321c318
    <                             .bind("click", eventData, complete)
    <                             .bind("mousedown", function(e) {
    <                                 e.preventDefault();
    <                             });
    ---
    >                             .bind("click", eventData, complete);
  6. Jira を起動します。
  7. Try to see if you can reproduced the problem

If the issue does persists after performing the above, then you may need to perform the additional few steps:

  1. Download JQLAutoComplete.js
  2. Jira をシャットダウンします。
  3. Rename existing $JIRA_INSTALL/atlassian-jira/includes/jira/autocomplete/JQLAutoComplete.js to JQLAutoComplete.js.rename
    • Do the same for the minified version, rename JQLAutoComplete-min.js to JQLAutoComplete-min.js.rename
  4. Create a copy of the downloaded JQLAutoComplete.js and renamed the copy to JQLAutoComplete-min.js
  5. Copy the new JQLAutoComplete-min.js and JQLAutoComplete.js to $JIRA_INSTALL/atlassian-jira/includes/jira/autocomplete/
  6. Jira を再起動します。

ソリューション

Upgrade to JIRA 7.2.6 which has the problem fixed.

 

最終更新日: 2017 年 1 月 9 日

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

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