I have been using the “My Workspace” workspace to store and execute some API calls. I put my API calls inside an environment called “API”. Inside “API”> Settings, I stored lots of variables for all the common things between all the API calls I make. When creating these variables in-line (e.g. highlighting part of the API URL > create variable), I always selected the “API” Collection as the variable’s scope + gave an appropriate name.
Today, I wanted to share this with my team so we could consolidate the API calls we’re all making. I know that you can not simply give access to your “my Workspace” without creating a Team Workspace.
To share the “API” Environment with my colleague, I followed the below steps:
Steps to Reproduce
- In the “Collections” tab > Right-click the “API” collection
- Select “Share”
- Enter the email address(es) to share it to
- Select the “Create Team workspace and move this collection”.
- Select the “share” button
What I expected:
Everything under the “API” collection is moved to the new team workspace and ceases to exist in “My Workspace”.
What happened:
Everything except the variables in the "API collection were moved to the new team.
References to the variable remained where they were (e.g. the URL = https://my.test.get.url.com/students/{{My Student Number Variable}}
Workaround:
Re-create the variables
Platform Details:
- Postman for Windows 11.7.0
- OS Platform Windows 11 (win32 10.0.22631)
Solution Attempt Evidence
I’ve read through the existing discussions. I think this is the closest to my issue. However, the act of moving the collection into the new team workspace is what loses the variable definitions and values.
I tried finding where the variables are stored in Postman’s installation directory, but because my “My Workspace” now has zero variables (the other environments have no variables configured), I couldn’t find it, nor in Recycle Bin in case it was a file deleted per the process above.