After users have selected a unique value in 5 different fields (through 5 drop-down lists) and submitted a form, I would like to calculate the sum of these 5 values. Is it possible via the 'Forms for Confluence' macro?
Here is an example for a submission:
Userid - Date - Risk - Access complexity - Confidentiality - Exploit
--------------------------------------------------------------------
xxxx - 20/03/2017 - 5 - 3 - 5 - 1
In this case, sum should be: 14
Hi Nicolas,
Currently there is no way we can calculate the fields.
The good news is that we're releasing soon a new version of ScriptRunner for Confluence that will allow one to create Script Macros that can inject Javascript. This will allow you to calculate the sum of fields on the fly.
I'll let you know when we release this new version.
Regards,
Rafael
Hi Rafael,
Do you have an update on the new Scriptrunner for Confluence version?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Shari,
The latest version of ScriptRunner for Confluence contains the possibility of adding Javascript in a ScriptMacro.
Could you please update and let me know if you're now able to calculate the fields?
Regards,
Rafael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rafael,
I actually just submitted another question because I don't think the ScriptRunner for Confluence is something that will work for me. My question is at the link below. Perhaps you can help me with that one?
Thanks for your reply,
Shari
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.