Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

How to make calculated custom field read only in JIRA Cloud

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?

2 answers

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

0 votes

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

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Site Admin
TAGS

Community Events

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

Events near you