Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Set Field Default Value in Customer Portal

Jack Yang
Contributor
August 31, 2023

 

HI there, 

 

I'm trying to set default for Description field by ScriptRunner Behaviours.

However, if I click "Create" button in the project, default value can be shown in the issue creation screen (screenshot 1), but if I try it from Service Management customer portal, the default value do not show up.

I think my script is correct, is there anything missing? or it doesn't work on customer portal?

 

 

Thanks,

Jack

 

 

Screen Shot 2023-08-31 at 3.18.11 PM.pngScreen Shot 2023-08-31 at 3.18.49 PM.png

1 answer

0 votes
Trudy Claspill
Community Champion
August 31, 2023

Hello @Jack Yang 

I don't know if Behaviors can interact with fields that display on the Customer Portal.

A work around would be to create a secondary Custom Field for Description (i.e. Description Template). You can fill in the template text as a default value in the Context for that field. You could then make the surface the Description Template field instead of using the Description field in the Create screen to present the template text. You could use an Automation Rule to copy the text from that field to the Description field when the issue creation is completed.

This type of setup is described here:

https://community.atlassian.com/t5/Jira-questions/Default-text-for-Description-field-on-Jira-Cloud/qaq-p/785597

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