How to display scripted or calculated field when creating an issue?

I used the Scripted field for the Total price, but the field didn't display on screen when creating an issue. I also put the script on the create transition description as per this link suggest (https://gist.github.com/jechlin/5380119) but it didn't work. Please kindly suggest.

3 answers

Scripted fields are data that results from a calculation based on existing data. On the create screen Price1 and Price2 are not set, so the script cannot do anything with them. It can only create the data as the issue is created - after the user commits the creation data.

The other point about scripted fields is that even when they have data, they do not appear on edit or transition screens because their data is not editable. You can get them to display on these using javascript if you're a bit sneaky - the script you've found should do it for some versions of JIRA, but as it's 3 years old, it will probably need a rewrite for more recent versions

You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...