How can I get this in my description - please provide me with correct coding to be placed i Behaviours in Description in one project..
Hi @Helen Ahlberg ,
Please try this script snippet :
import groovy.transform.BaseScript
import com.onresolve.jira.groovy.user.FieldBehaviours
@BaseScript FieldBehaviours fieldBehaviours
def desc = getFieldById("description")
def table = table = """Please enter your details in the below table -
||Application||Parent Folder||Name||Status||Order Date||Action||
| | | | | | |
Please provide additional information. Fields marked with {color:red}*{color} are REQUIRED in order to process your request.
||Provision Server||Restore from Backup||Server Decommission||Change to Existing Server||
|*Size*|{color:red}*{color}| | |
|*RAM*|{color:red}*{color}| | |
And so on..."""
desc.setFormValue(table)
Antoine
Hi
Thansk for very fast reply.
I have entered your suggestion in the Behaviours under Create initialiser and then mapped this to correct project and issuetypes -> IT WORKS!!!
Now I have to adjust the code so that I get the correct info in place.
Thanks - You have saved my day :)
regards,
Helen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are very welcome !
If this answer helped you, marked it accepted ot help other users find it. :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Antoine Berry -- how do you have bold text in between tables? Something line
Bold text 1
Table 1 (created above)
Bold text 2
Table 2( another table)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
oh nevermind, i found this https://jira.atlassian.com/secure/WikiRendererHelpAction.jspa?section=all
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.