I tried to create an issue which contain filed as per following:
Total price: Price1+Price2
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.
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.
In addition to what the two other answers already say, you can use Behaviours for dynamically displaying a field value based on other field values: https://scriptrunner.adaptavist.com/latest/jira/behaviours-overview.html
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs