Forums

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

Does Script Runner Behaviors support modifying the text height of a text area system field?

DORIAN KERSCH
Contributor
October 10, 2018

Hi,

 

I am trying to modify the description and environment field. Both of them are system fields and both are large text areas. Am I able to use behaviors to reduce the size of those? I am mostly concerned when someone uses the create screen, but it would also be great on edit screen as well. Someone can always use the "expand" feature on those text areas to make it bigger if need be.

 

Note: I know these can normally be done with custom fields and some javascript magic, but not on system fields.

 

Note: I don't want to use the banner for any hacks.

 

Note: I am okay with using Script Fragments, but it is a little bit out of my expertise. 

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
1 vote
Answer accepted
Daniel Yelamos [Adaptavist]
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.
October 12, 2018

Hi Dorian.

In all honesty, I don't think this is possible. You might be able to use fragments to alter the css, but it might misbehave. You seem to be aware that this can be done with css altering javascript. 

In my experience though, these changes are hard to maintain. 

If I may, why do you want to do this?

Cheers

DY

Dorian Kersch
Contributor
October 12, 2018

Hi Daniel,

 

I agree it is hard to maintain and thus why I didn't go the JavaScript route.

The main reason is if you use the description field and the environment field (system field) on the same create screen / tab. It will consume the entire view. 

Thanks for answering my question! Just wanted to make sure I wasn't going crazy.

Daniel Yelamos [Adaptavist]
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.
October 15, 2018

We all think we're going crazy sometimes!

My pleasure sir.

TAGS
AUG Leaders

Atlassian Community Events