What is the correct procedure to hide a field using the behaviours plugin

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 3, 2015

I'm using the behaviours plugin with the intent to hide a field.
Changing the customfieldtypekey to  'com.onresolve.jira.plugin.Behaviours:hideable-textarea' as explained in 
https://jamieechlin.atlassian.net/wiki/display/JBHV/JIRA+Behaviours+Plugin#JIRABehavioursPlugin-HiddenFields

shows an unwanted behaviour: the field is not visible anymore in the custom fields list.  The behaviour shows 

image2015-6-4 5:49:47.png

 

What is the correct procedure to hide a field using the behaviours plugin.

 

 

 

2 answers

0 votes
JamieA
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.
June 3, 2015

Don't use the 'hideable" types if you can avoid it. That was an attempt to securely hide fields, ie even from rest calls. I would use a normal field type, and hide that either using the configuration in behaviours, or server-side script.

francis
Marketplace Partner
Marketplace Partners provide apps and integrations available on the Atlassian Marketplace that extend the power of Atlassian products.
June 4, 2015

Hi Jamie, Good to know - it is still in the documentation Thanks, Francis

0 votes
Nuwan June 3, 2015

you can delete unwanted behaviours and start with beginning. create new behaviour and configure it.then try to hide the field .if you need to hide a field with a condition it is also possible.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events