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
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published May 16, 2018 in Teamwork

Michael Kimathi: A (soon to be) viral video + the key to unlocking personal and community growth

...me as a true entrepreneur because my journey entails building solutions and helping build solutions which impact the lives of people and communities around me. I graduated with BSc Computer Science...

666 views 8 12
Read article

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