I've created a Behavior that transforms a text field in to dropdown list search field. That data comes from an external REST service via a Scriptrunner REST endpoint.
https://scriptrunner.adaptavist.com/5.0.3/jira/behaviours-conversions.html
I thought that was 'job done' and got back to my day job. However, pesky users have said that the field still appears as simple text field when they update it from Structure, and that it doesn't allow them to search.
Is it possible to apply a Behaviour to a field that appears in Structure?
Or I could use another ScriptRunner function to periodically add new items to a Single Select?
No, behaviours only work on main jira screens.
Structure and bulk change from the navigator won't run the logic.
But searching should be possible. The data is stored as free text. Bust you can change the searcher to "Exact Txt searcher" if you want to be able to have individual values indexed (and available in JQL autocomplete.
If editing via structure is a hard requirement, then yes, the alternative if to have your single select context programmatically updated.
Thank you Peter, you've confirmed my thoughts.
Ok, I'll workout the code for the OptionsManager.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Richard,
If you wish, we'd be happy to take a closer look at your configuration and investigate the case further.
You can open a support ticket with our team by clicking here.
We will be glad to help!
Best Regards,
[ALM Works]
Mario O.G
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.