I would like to copy a predefined text block into a new textblock.
I found a way of doing this with Confiforms but this is created with 2 input fields
https://wiki.vertuna.com/pages/viewpage.action?pageId=5341742
Can I create a text and name it?
You can set a static text value... does not have to be a value from another field
somefield=Some text you want to put
Alex
Hi @Alex Medved _ConfiForms_ ,
Thank you for this answer.
It is a bit more complicated. I would like to create a jira issue.
the desciption is this issue will depend on a choice i make.
Example:
If choice=1 description will be text block 1,
If choice=2 description will be text block 2.
creating the ticket works fine. this part I can not figure out
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can use Velocity templating and #if #else #end blocks if necessary
Also, set operations...
#set($desc = "") #if(${r1} == '1') #set($desc = "[entry.r1.label] - And some static text") #end #if(${r1} == '2') #set($desc = "[entry.r1.label]") #end #if(${r2} == '1') #set($desc = "$!{desc} [entry.r2.label]") #end #if(${r2} == '2') #set($desc = "[entry.r2.label] - $!{desc} ") #end
And then
...
"description": "${desc}",
...
Alex
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.