Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Several Question Mark icons next to custom fields

Logan Bell
Contributor
November 27, 2018

I have several custom fields on the same screen and I would like each of them to have their own individual help icon. Each custom field has its own script in the description, but for some reason they always open the help icon on a unrelated field.

 

For example I have three fields Customer impact, Job Value and Job size. Each has its own and independent help icon next to them. However when I click the Help icon next to Job size it opens up the help for customer impact....

 

Does anyone know how to fix this?

2 answers

0 votes
AhmadDanial
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
November 27, 2018

Hi, Logan.

Before I look into this further, I'd like to gather more information on the custom field issue that we are dealing with here. As for the 3 example custom fields we have below:

  • Customer impact
  • Job value
  • Job size

please refer to the questions that I have below:

  • Can you please let me know the type of custom fields they refer to?
  • Are the custom fields created from third-party addons?
  • Can you share the content of the script of the affected fields so I can test it? 

Looking forward to hear from you soon.

Logan Bell
Contributor
November 28, 2018

the custom fields are "Select list (single choice)" And they are custom fields that I made myself. The script I am using is below. I copied the same script into each one and only changed the displayed text.

 

<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 following is meant to guide in the selection but may not be a perfect fit

1, 2, 3, 4, 8, 13, 21


</div>

Tom Lister
Community Champion
November 28, 2018

 

0 votes
Tom Lister
Community Champion
November 27, 2018

Hi @Logan Bell

could you post your script for a field 

Logan Bell
Contributor
November 28, 2018

I copied the Script in the comment below. thanks

Suggest an answer

Log in or Sign up to answer