Hello, I'm trying to figure out how to make a macro that works with a task list. I would like to try to make something along the lines of, when the checkbox is unchecked the text is red. When the box is checked it's green and at a certain time all of the checkboxes get unchecked.
But I'm having a heck of a time finding anything on how to do this. Some of the scripts I see are written like the code below, but where do I find $spacekey or $space.key. Is there a list of those available
#if (!$spacekey)
#set ($spacekey=$space.key)
#end
There is an API documentation right here:
https://docs.atlassian.com/atlassian-confluence/6.6.0/
Searching for com.atlassian.confluence.spaces reveals the class Space where you can find the getKey method which you can use without the "get" part as it seems.
There is some more info here:
https://developer.atlassian.com/server/confluence/confluence-objects-accessible-from-velocity/
I also found no info why you could write space.key instead of space.getkey.
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.