JIRA - Activate preview field by default

Miguel Angel Perez April 20, 2015

Hi all,

 

I have a Text Field (multi-line) with deafault value. I want that when I create a issue by default it was enabled preview field:

image2015-4-20 17:59:13.png


Thanks a lot.

3 answers

0 votes
Miguel Angel Perez April 20, 2015

Hi all,

I tried inject javascript but It doesn't work:

<script>
var obj = jQuery("#customfield_10200-preview_link");
if (obj) {
  obj.trigger("click");
}
</script>

Any idea? The JIRA version is 6.4.1

 

Thanks.

0 votes
Nic Brough -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.
April 20, 2015

That's rather counter-intuitive for the user, and hence not something you can do easily.  You probably could inject some javascript to do it though.

0 votes
Adrian Stephen
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
April 20, 2015

Hi, I don't think that is possible in JIRA out of the box.

You could Put the field on the VIEW screens. Do not put it on the CREATE & EDIT screen so that this field will be read only. 

You could also explore the Behavior field plugin : 

 

 

 

Suggest an answer

Log in or Sign up to answer