Spreadsheets across spaces with built-in parameters

Hi Team,

Am trying to use spreadsheets across spaces, but querying with built-in parameters still fetches the original space values.

Eg : Created a spreadsheet & Query in space x. The query used $spaceKey parameter to filter the resutls. Created connection in space y using space X details. But when used the same query in space y, it doesn't use $spaceKey of space y, but uses $spaceKey of space x. 

Please help me to sort this out.

1 answer

So you want to use cross-space queries and still use the $spaceKey parameter? That's correct, the macro's space isn't provided and you'll always see the original space's key.

  • You could prompt the user for a value,
  • You could use the $pageTitle or $pageId.

It is the best approximation, given there's no option to do exactly what you want.

Thank u so much. I may not be using playSQL in the right way :) But that's what I need to do. Using $pageTitle can work across spaces ? Thx mate

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Nov 27, 2018 in Teamwork

Could design thinking be the cure for organizational sclerosis?

Most companies that have been around for a while are poorly adapted for the knowledge economy, and even less so for today's "creative economy", where your ability to add value is limited only by your...

102 views 2 4
Join discussion

Atlassian User Groups

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!

Find my local user group

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

Groups near you