Skip to content

Instantly share code, notes, and snippets.

@JiBrok
Last active January 25, 2021 13:51
Show Gist options
  • Save JiBrok/9de4c390e35af4fbb297ed48314c608a to your computer and use it in GitHub Desktop.
Save JiBrok/9de4c390e35af4fbb297ed48314c608a to your computer and use it in GitHub Desktop.
Response for: OnChange Listener in Create Issue screen
#set($cfSelect = 10302)
#set($text = "[YOUR DOWNLOADLINK WILL BE SHOWN HERE AFTER SELECTING A MODULE]")
#set($href = "https://www.website")
#if($cfValues.getFromForm($cfSelect))
#set($text = "https://www.website/downloads/dokumente/" + $cfValues.getFromForm($cfSelect).value.replace(" ", "_").replace("/", "_"))
#set($href = "https://www.website/downloads/dokumente/" + $cfValues.getFromForm($cfSelect).value.replace(" ", "_").replace("/", "_"))
#end
<p1>Please download the following document:</p1>
<br>
<a id="text" href="$href">$text</a>
<br>
<p2> and attach it to your issue.</p2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment