You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.
View groupJoin the community to find out what other Atlassian users are discussing, debating and creating.
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 @Stéphane 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.
Connect with like-minded Atlassian users at free events near you!
Find an eventConnect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.
Host an eventYou're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.