Customfield Javascript not working on project Change. Any idea why?

We have added some JavaScript in our customfields specific to a project and when the project is changed from something else to this particular project and therefore the issue and screen change the JavaScript is not loaded.What can I do to make it load on project change?

1 answer

0 vote

If your custom fields are using contexts, then the values/descriptions of those custom fields are bound to the specific project where that context was created.

Hence other projects could use the same custom field, but have different possible field values, or a different descriptions.   But that alone doesn't explain why switching project types would change that.

What project types are you changing between?

The other thought is that this could be a field configuration scheme problem.  I am curious to see if the changing of this project would automatically change your field configuration scheme in use here.  Those schemes can also control the descriptions that a custom field have on a per project basis.  So that seems like the most likely culprit here to me.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Monday in Jira Software

How large do you think Jira Software can grow?

Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...

495 views 6 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you