In Jira, list fields have auto-completion.
However, it uses a static data set to suggest the value. It does not handle more than a few thousand entries.
In order for the auto-completion to support tens of thousands of entries to search in, other SaaS products' lists usually issue an Ajax call everytime the field value changes. For exemple:
- nothing happens while the field value is shorter than 3 charactes
- on any change, if the field value length is superior or equal to 3, an ajax call is issued, returning a limited list of results (100 for example) with a flag indicating weither there's more results in store, not returned.
- the auto-completion only works on the list returned by the Ajax call
That would allow lists to have any size, as long as the Ajax call is fast enough to keep usability high.
So, is there any addon already providing that, or where would I start to develop my own feature? Thank you! :)
Hi Adrien,
Thank you for your question.
I can confirm that the ScriptRunner for JIRA Cloud plugin is unable to perform any dynamic validation on issue forms to link or hide fields like the server version can with the Behaviors feature.
Also, I can confirm that the plugin cannot dynamically populate field values like it can in the server version can with the Behaviors feature.
The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provides a Rest API in Jira Cloud and not the same Java API that the server version contains.
You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the documentation page located here.
If this response has answered your question can you please mark it as accepted so that other users can see it is correct when searching for similar answers.
Regards,
Kristian
Hi Kristian, I wasn't specifically aiming ScriptRunner in my question, but thank you for these precisions.
However, I addresed another point about ScriptRunner cloud directly on your Service Desk instance, and got no answer yet.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adrien,
Thankyou for your response.
Can I please ask if you created your request through our customer portal located at https://productsupport.adaptavist.com/servicedesk/customer/portal/23 as I cannot see your request inside of our portal.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No sorry, I mixed up things. I understand your answer as per Tarun suggestions.
My initial question, however, was a little more general, I needed to know if I would ever be able to build a dynamic loading auto-completed field on Jira cloud :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Adrien,
It would not be possible to built this field using *ScriptRunner for Jira Cloud* and I do not know if this would be possible in a custom plugin either.
Regards,
Kristian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello @Adrien Morel
What you want is available on the Jira server
https://scriptrunner.adaptavist.com/latest/jira/behaviours-conversions.html
But for Jira cloud, this is a popular plugin but I am not sure if it offers exactly what you need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
Thank you for these links. You say the first one is for Jira Server. Do you mean I cannot implement that on my Cloud instance?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, the first link is only for Jira server and not available on Cloud. Please see the second link for cloud, but I don't think currently there is a easy way to implement what you want on cloud
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Indeed, the second option don't achieve what I'm looking for.
Looks like the Cloud option is somehow too limited. We may move to the server version, or to competitors that are much more open to community needs (yes, I'm sarcastic because Atlassian makes new interfaces that have less features than old ones, killing some main functionalities on the way)
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.