カスタム フィールドのヘルプの作成
Customizations to JIRA, such as including Javascript in the Custom Field description are not included in the scope of Atlassian Support.
To provide online help for a custom field, use HTML or Javascript in the field's description. E.g. you can have a simple link to an external help page:
<a href="http://www.example.com/jirahelp/fieldhelp.html">get help</a>
または、Javascript を使用して、フィールドにヘルプテキストを表示できます。
ヘルプアイコンをクリックすると、ヘルプテキストが表示されるようにする場合:
これは、フィールドの説明として以下を入力することで実行できます。
Quality Assurance contact
<script type="text/javascript">
function showHelp() {
var listenersDiv = document.getElementById("qaFieldHelp");
if (listenersDiv.style.display == 'none') {
listenersDiv.style.display = '';
} else {
listenersDiv.style.display='none';
}
}
</script>
<a href="#" onclick="showHelp(); return false;"><img src="/images/icons/ico_help.png"/></a>
<div id="qaFieldHelp" style="display:none">
The QA Contact is a member of the QA department responsible for taking this issue through testing.
They will be notified by email of this and subsequent issue state transitions.
</div>
(Incidentally, Javascript in descriptions can also be used to set field values.)
最終更新日: 2018 年 10 月 30 日
Powered by Confluence and Scroll Viewport.

