You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
I'm trying to create a calculated field for a Jira project. I'm running Jira Cloud. I'm trying to follow the Adaptavist docs at https://scriptrunner.adaptavist.com/5.0.4/jira/scripted-fields.html
In the "Getting Started" section, the docs say to add a new custom field, choose Advanced and then Scripted Field:
There is no 'Scripted Field' option in my install:
I have ScriptRunner for Jira installed:
Is there some way to enable Scripted Field that I'm missing?
So that I can advise further on your question can I please ask are you using ScriptRunner for Jira Server/Data Center or ScriptRunner for Jira Cloud?
Thank you for your response.
I can confirm the documentation you have referenced above is for ScriptRunner for Jira Server and not for ScriptRunner for Jira Cloud. I can confirm you can see the documentation for ScriptRunner for Jira Cloud here.
I can also confirm that the ScriptRunner for JIRA Cloud plugin is unable to provide the same Script Fields functionality that the server version is able to provide.
The reason we are unable to provide this functionality is due to the restricted functionality and API's which Atlassian provide inside JIRA Cloud, due to the fact that Atlassian only provides a Rest API in Jira Cloud and not the same Java API that the server version contains.
You can see more detailed information on the differences between ScriptRunner for JIRA Cloud and ScriptRunner for JIRA Server inside of the documentation page located here.
I can, however, confirm that the closest functionality to a Script Field that can be achieved in Jira cloud is a Script Listener which calculates a value on an issue as described inside of the documentation page here.
I hope this information helps.
I will feed this information back to our documentation team.