Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Behaviours for Description field - automatic table shown


How can I get this in my description - please provide me with correct coding to be placed i Behaviours in Description in one project..

table in description.png

1 answer

1 accepted

1 vote
Answer accepted
Antoine Berry Community Leader Sep 03, 2019

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..."""




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 :)



Antoine Berry Community Leader Sep 03, 2019

You are very welcome ! 

If this answer helped you, marked it accepted ot help other users find it. :)

@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)

Suggest an answer

Log in or Sign up to answer