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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Sven Peters
Published Mar 29, 2018 in Teamwork

Team Tour Tools and Practices - Slides and Videos

...their time to upgrade. We will also email and alert all their end users about the upcoming move and give them everything they need. We will migrate all their Hipchat teammates, rooms, chats, message...

1,405 views 0 9
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