Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Why have the fieds been init when I create new Issue from create-menu

cgy December 5, 2019

After i use the demo
https://scriptrunner.adaptavist.com/5.6.2.1-jira8/jira/fragments/CreateConstrainedIssue.html

But When i Click create new of System , the fields awalys have been init,

不想要初始化.png

1 answer

Suggest an answer

Log in or Sign up to answer
0 votes
Ilya Turov
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 5, 2019

Hello,

because when you add a behaviour, it contains these lines:

getFieldById("project-field").setReadOnly(true)
getFieldById("issuetype-field").setReadOnly(true)

which are responsible for setting those two fields as read only

TAGS
AUG Leaders

Atlassian Community Events