Hello Community,
Is it possible in ScriptRunner Cloud using Behaviour to set a subset of a custom field or the component field?
for example,
CF: [1,2,3,4,5]
i want to give an option to select only [1,2,3]
and no, i dont want to do this with field context.
Thanks
Ariel
Hey @Maria Rusnakova
It didnt work, it shows nothing when i did that.
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.
Hey @Maria Rusnakova
Thank you very much, that works!
Do you know if this can be implemented also on the Components?
i tried by giving the component id but it didnt work, used this to get the id:
Https://jDOMAIN.atlassian.net/rest/api/2/project/{projectIdOrKey}/components
Best
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arielei
unfortunately, so far I have only set it for select lists.
I tried the same script for Components now but, as you mentioned, it didn't work.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey @Maria Rusnakova
Thanks, according to Adaptavist, its not supporting Components yet.
Thanks for your help!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @arielei ,
I'm not sure if in cloud is feasible, maybe only at transition screen level. Have you checked this script example?
https://www.scriptrunnerhq.com/help/example-scripts/filter-resolution-for-issue-type-cloud
Regards
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.