Forums

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

Convert to multiselect

David Gonzalez Blanco February 20, 2023

When converting the field, all behaviours stop working. Scriptrunner. 

I use jira server. The conversion of the field is visual via the convertToMultiselect(customfield_xxx) command. It works, the field is really visualized. But all the conditions associated with this field stop working, for example, read-only availability or hiding the field or its mandatory.

2 answers

1 accepted

0 votes
Answer accepted
Alex Koxaras -Relational-
Community Champion
February 20, 2023

Hi @David Gonzalez Blanco 

What do you mean by "converting a field"? You can't convert a field, but you can create one. With that said I would check two things on your scriptrunner's script:

  • Customfield id is the new one
  • You are using the proper code (methods) to get/set the variable's value 
Alex Koxaras -Relational-
Community Champion
February 20, 2023

And are you indeed on cloud, or on server/dc?

David Gonzalez Blanco February 20, 2023

Hi, @Alex Koxaras -Relational- I have updated the description

David Gonzalez Blanco February 20, 2023

Thank you!:)

0 votes
Dirk Ronsmans
Community Champion
February 20, 2023

Hey @David Gonzalez Blanco ,

Let me  ask you a few questions first.

  1. are you on Cloud or On Premise, Behaviours on Cloud or still in an early stage so even tho you posted this under cloud I'm going to assume you use an on premise system?
  2. You mention you converted a field, afaik you cannot really convert a field (except adapt some properties of those fields). What type of field did you have and what did you convert it to? (also how did you convert?)
  3. These behaviours, do you get any error messages on them now or just nothing happens? A good place to look for errors on your behaviours is often the Developer console of your browser.
David Gonzalez Blanco February 20, 2023

Hi, @Dirk Ronsmans I have updated the description

Suggest an answer

Log in or Sign up to answer