neat_things
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| neat_things [2018/01/16 15:23] – [Hiding current field unless priority is set to P1] pawel | neat_things [2026/02/01 12:29] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 17: | Line 17: | ||
| } | } | ||
| }); | }); | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | ==== Add light-yellow background to a field' | ||
| + | |||
| + | If you'd like to highlight the background of the field' | ||
| + | <code java> | ||
| + | <script type=" | ||
| + | target = document.getElementById(' | ||
| + | if (target) { | ||
| + | target.style=" | ||
| + | } | ||
| + | |||
| </ | </ | ||
| </ | </ | ||
| Line 45: | Line 58: | ||
| </ | </ | ||
| </ | </ | ||
| + | |||
| + | === Display radio button option that was selected with alert message === | ||
| + | <code java> | ||
| + | <script type=" | ||
| + | jQuery(document).ready(function($) { | ||
| + | JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, | ||
| + | callVerifyAndUpdateFunction(); | ||
| + | }); | ||
| + | callVerifyAndUpdateFunction(); | ||
| + | function | ||
| + | var radioValue1=document.getElementById(' | ||
| + | var radioValue2=document.getElementById(' | ||
| + | var radioValue3=document.getElementById(' | ||
| + | if (radioValue1){ | ||
| + | | ||
| + | } | ||
| + | if (radioValue2){ | ||
| + | | ||
| + | } | ||
| + | if (radioValue3){ | ||
| + | | ||
| + | } | ||
| + | | ||
| + | |||
| + | } | ||
| + | |||
| + | }); | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | |||
| + | ==== Adding messages to your JIRA tickets ==== | ||
| + | |||
| + | You can display informational messages in your Jira tickets for users to see. | ||
| + | See the following URL: [[https:// | ||
| + | |||
| + | ==== Adding colors to your Drop Down custom field options ==== | ||
| + | |||
| + | Source URL: [[https:// | ||
| + | |||
| + | Although the documentation is a bit outdated, and the colors don't match exactly what is in the documentation, | ||
| + | |||
| + | {{: | ||
| + | |||
| + | In order to accomplish this, you need to add span code as you see it in the screenshot: | ||
| + | |||
| + | {{: | ||
| + | |||
| + | ==== Disabling a field from being seen using banner ==== | ||
| + | **<color red>have not confirmed this yet</ | ||
| + | Link: [[https:// | ||
| + | I found this in the above linked forum discussion, not tested yet. | ||
| + | <code java> | ||
| + | <script type=" | ||
| + | (function($) { | ||
| + | AJS.toInit(function(){ | ||
| + | // init on load | ||
| + | AJS.$("# | ||
| + | }) | ||
| + | JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, | ||
| + | // init on refresh | ||
| + | AJS.$("# | ||
| + | }); | ||
| + | })(AJS.$); | ||
| + | </ | ||
| + | </ | ||
| + | |||
neat_things.1516134231.txt.gz · Last modified: (external edit)
