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?
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.
Hi @Stéphane ZOKO ,
1. About calculated custom field in cloud->
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
4. Workaround : create forge app to expose that calculation ... too complicated for only one field
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events