Hi,
I have a numeric custom field whose value is the result of the product of two other fields.
I would like to make it readonly.
NB: I was able to do it in On Premise in the behavior but I can't do it in Cloud, a hand?
Hi Stephane,
Thank you for your question.
I can confirm that currently that is not possible to make fields read only with ScriptRunner for Jira Cloud as we do not provide the same behaviours functionality that the server version provides.
We are looking into adding behaviours in future and have a backlog ticket for this located here and I would ask you to vote on this and your use cases to it if it is something that would be useful to your organisation.
However, in ScriptRunner for Jira Cloud, I can confirm that we provide Scripted Fields as documented here and these fields are programatically calculated when an issue is loaded and do not appear on the create or edit screens so cannot be updated by users and may help to achieve your requirement inside of Jira Cloud.
I hope this information helps.
Regards,
Kristian
Hi @Stephane Zoko ,
1. About calculated custom field in cloud->
https://jira.atlassian.com/browse/JRACLOUD-61966
2. Workaround: is create field in view mode, then write a script outside of Jira which will update info via REST api.
3. Workaround: the same idea via Scriptrunner
https://scriptrunner-docs.connect.adaptavist.com/jiracloud/script-listeners.html#_examples
4. Workaround : create forge app to expose that calculation ... too complicated for only one field
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.