Changing a field based on another field

Tsvetomir Matov July 18, 2014

Hello Atlassians, I am trying to "bind" a custom fiel to the priority field in jira (6.1.2).

From these two tutorials I got the idea how can I do this:

https://confluence.atlassian.com/display/JIRA044/Displaying+a+Field+Based+on+Another+Field+Selection

https://confluence.atlassian.com/display/JIRA044/Setting+Priority+field+value+based+on+customfield+value

Now my problem is: I set the following javascript to the description of the CF

<script type="text/javascript">

alert("test");

</script>

and the only page where I see my test alert is the Custom Fields admin page (where I start editing the field) but not on the Create Issue page for example. The CF is added the create issue screen.

Any help will be much appreciated. Thanks in advance!

Best regards

2 answers

1 accepted

0 votes
Answer accepted
Nadir MEZIANI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2014

Hi,

Try to put you script Field Configuration Scheme , look this Field Configuration Scheme it can help you

1 vote
Tsvetomir Matov July 18, 2014

Hi zezeto, the problem was really in the wrong scheme.

Many thanks for the quick and precise answer!

Best regards

Nadir MEZIANI
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
July 18, 2014

Good luck and congratulation, you are the champions:)

Suggest an answer

Log in or Sign up to answer