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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Hideable Text Field deleted after upgrade to 7.0 (Problem in Behaviours Plugin)

Hi All,

We are trying to upgrade our JIRA to 7.0 however, we notice that the hideable text field is not available anymore in the 7.0 version.  We are using this field in our previous JIRA and it's trouble for us as we use this quite extensively.

We use Behaviours plugin to hide this field.  I know for a fact that this plugin has been merged with Script Runner (which we also have installed in our instance).  After the upgrade of Script Runner,  the menu in Behaviours plugin became duplicated.  Disabled it in the plugin page and after checking the Behaviours rule, all Hideable text  fields were marked as deleted in the Behaviour rules.

 

Please advise

5 answers

1 accepted

0 votes
Answer accepted

We figured the solution ourselves in the process. 

The solution is to update the customfieldtypekey of the hideable textarea and textfield.

Sample is below for oracle.

update customfield set customfieldtypekey = 'com.onresolve.jira.groovy.groovyrunner:hideable-textarea'  where customfieldtypekey = 'com.onresolve.jira.plugin.Behaviours:hideable-textarea';
update customfield set customfieldtypekey = 'com.onresolve.jira.groovy.groovyrunner:hideable-textfield' where customfieldtypekey = 'com.onresolve.jira.plugin.Behaviours:hideable-textfield';  

Hi!

Looks like we have same issue after last upgrade from 8.7.1 to 8.9.0. Some custom fields was compleetly deleted, only in behavior code left record about field id with mark DELETED FIELD.

as possible reason, may be helps for others:

jira upgraded from 8.7.1 to 8.9.0 with adaptavist script runner plugin from 6.2.1 to 6.3
field type which was lost: "Hideable Text Field" (previously supported by adaptavist plugin)
reason of field disappearing https://scriptrunner.adaptavist.com/6.2.1-p5/jira/releases/breaking-changes.html


No way to repair only restoring from backup previous version and as suggested by adaptavist docs convert to simple text field type before upgrading

 

BR,

Maryana

That's what the support of Adaptavist answered:

Hi Conny,

This is explained in our documentation and this troubleshooting article. We sent out an email to all technical contacts for ScriptRunner licenses in February notifying of this removal. 

Hidden Fields custom fields, which were deprecated in version 5.6.14, have now been removed. Even though all the hidden fields configuration and data will still exist in the database, it is recommended that users change the custom field type of all hidden fields before updating to this version. To change the custom field type, follow the Atlassian guidelines or the steps listed in that article. 

Kind regards,
Katy

Like Maryana Osipchuk likes this

Hi,

I have a similar problem: I had two hideable text fields and now they are deleted. I can't see them anymore, either in the custom fields nor in the issue view. 

They aren't still available as custom field types.

 

Any idea to solve the problem?

Best regards,

Conny

Hi All

I have the same issue.

BR,

Medhat

Hi Alaine,

I am a little confused by your question, because I do not think there were any major changes to hideable text fields in JIRA 7.0. They are still available as custom field types in the most recent version:

Screen Shot 2017-10-09 at 4.41.02 PM.pngYou can definitely use behaviours with the hideable text fields still.

Perhaps you need to follow the conversion process to change your old fields to hideable text fields? https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html#_hidden_fields

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Apps & Integrations

🍻🍂Apptoberfest Update: Upcoming Virtual Events 🎉

Hello Community! I hope you've been enjoying the 🍂Apptoberfestivities🍂 (I know I have!) The event is heating up next week with a series of virtual events that we're calling the 🍻🍂Partner App ...

421 views 3 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you