This question is in reference to Atlassian Documentation: Adding a custom field
I want to create a custom field that is the weighted average of 3 other fields on the issue. This should be dirt simple with some kind of script, but I can't find any recent documentation on how to do this. A google search turns up the following link, but the "JIRA Misc Custom Field" plugin doesn't appear in the market place search.
What are my options? Thanks in advance.
You have precious few options in the Cloud environment. Misc Custom Fields is not avaliable for Cloud.
Atlassian has recently announced an API that would allow add-ons to control fields from JIRA Cloud, so this functionality may not be available yet but it will come out.
The "groovy expression" portion is disabled in Cloud. You cannot run arbitrary scripts in the cloud environment unfortunately. You can use "Set field value to constant" or "Copy field to field" but these won't let you perform math.
One of the services my company provides is to supplement functionality of the Cloud environment. Let me explain how that works –
Perhaps this model would work for you, or perhaps you could hire an Expert to provide this feature for you.
Finally, you could also write a Connect Post-Function yourself – https://developer.atlassian.com/static/connect/docs/latest/modules/jira/workflow-post-function.html
We do this in JIRA Server using the ScriptRunner add-on for a number of customers.
For Cloud with limited scripting it's harder. You could have a remote script run periodically to update a field in issues that have changed but it may not scale well for more than 10K issues being updated.
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
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot