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 Join to answer
Community showcase
Fabian Lopez
Published Dec 28, 2017 in Teamwork

Atlassian User Group (AUG) Leader - A look under the hood (Part 1)

...type of food and beverages that can be served, specially if you are using company conference rooms or break rooms, it can be a problem if it is not addressed in the right way. The message on the...

429 views 3 8
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot