I added an option "other" to the select custom field on issue creation.
when the user chooses option "other", I need an input field that shows up below the previous one where the user can enter his option
the problem is that I am not finding it in a suitable code for jira cloud
I need the same case or code of the following link but something that works for jira cloud
https://scriptrunner.adaptavist.com/5.2.0/jira/recipes/behaviours/select-list-other.html
HELP PLEASE
Cloud does not have any function that would do this, nor does it allow for apps to do it (Cloud does not support the functions that Behaviours injects, otherwise we would have written Behaviours for Cloud into SR for Cloud a long time ago.)
what do u suggest in this case? and by behavior you mean inserting html scripts?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Sorry, yes, Behaviours is a function built into the Scriptrunner for Jira Server app - that (sort of) injects scripts into Jira pages that do things with fields.
You cannot do that on Cloud, the framework does not allow for the code to be added.
In your case, your only real option is to find an app that provides fields that can work together this way or write one (I am not aware of any currently on the marketplace)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
after I did my research I guess I can add the behavior using script fragments in script runner on the cloud, but I still dont know how it works(what to put in the URL field). anyway thought to share this with the ones who are reading this post
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.