Need the code for scriptrunner behvaiour to create panel in description field

Samyak Masulkar November 16, 2023

We need to pre-populate the colored panels, checkboxes, and tables in description field on jira issue using scriptrunner behaviour, I was able to achieve this using HTML code in data center but not familiar with language used in scriptrunner cloud. Can someone please help me with the code. 

1 answer

0 votes
Kristian Walker (Adaptavist)
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
November 16, 2023

Hi Samayak,

Thank you for your question.

I can confirm that to add a pre-populated description with behaviours, you can use the example we have in the Script Libray here.

You will then need to change the Atlassian document format for the format you want, and the easiest way to get this is to use the visual editor tool Atlassian provide to generate this here.

You can then paste this into the example, replacing the document format inside the setValue() method.

I hope this helps.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events