Hello Support,
I'm trying to display in my form a specific organization and to be readonly, therefore i used scriptrunner behaviour. Except i wasn't capable to change the organization using set Form value. Therefore i wanted to check if anyone i familiar with this problem please
have a nice day,
In your description, you mentioned:-
I'm trying to display in my form a specific organization and to be readonly, therefore i used scriptrunner behaviour.
Could you please clarify what field type you use to display your organizations? Is it a List?
Or are you referring to the Add Organization field, i.e. as shown below:-
If it is the latter, the Behaviour is not usable.
Also, could you please share the code you use to configure your Behaviour along with a screenshot of your Behaviour configuration?
Thank you and Kind regards,
Ram
Hello @Ram Kumar Aravindakshan _Adaptavist_
I'm sorry if my explanation seems lacking. what i'm trying to do is to set a default organization in the form when creating an issue.
Here's what i get when opening the create screen:
And here's what i want to have to be set by default.
What i tried to do was just to set the fields value using setfieldvalue i will leave what i tried:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for providing the clarification.
Unfortunately, at present, ScriptRunner's Behaviour is unable to set the value for the Organization field.
If you feel it would be good to include this feature, I suggest you visit our support portal and create an Improvement/New Feature request for this. It will be added to our backlog, where it will be considered for development.
The alternative would be to use a Listener, using the Issue Created event or Issue Updated event, which will set the value once the Issue is created or updated. You could refer to this Community Post for some sample code using the Listener.
Thank you and Kind regards,
Ram
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.