Skip to content

Environment drop-down seems to override the pinned environment #13595

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
1 task done
abatko opened this issue May 24, 2025 · 0 comments
Open
1 task done

Environment drop-down seems to override the pinned environment #13595

abatko opened this issue May 24, 2025 · 0 comments

Comments

@abatko
Copy link

abatko commented May 24, 2025

Is there an existing issue for this?

  • I have searched the tracker for existing similar issues and I know that duplicates will be closed

Describe the Issue

I am new to pinning environments, but as I understand it, it is a way to pair a collection to an environment; as such, the pinned environment should be selected in the environment drop-down when I switch into a collection with a pinned environment. The behaviour I'm seeing is the whatever environment happens to be selected in the drop-down, remains selected in the drop-down, even when switching to collections with pinned environments (I would have expected the drop-down selection to switch to the pinned environment). A saving grace is that if the environment in the drop-down does not match the pinned environment, then the request fails (importantly, it does not seem to overwrite the environment that happens to be selected in the drop-down, whereas without pinning it could do that (via post-response script, for example)).

The reason this is an issue is that if your post-response script modifies environment variables, then if the wrong environment is selected, the wrong variables are modified.

Steps To Reproduce

  1. open Collection 1
  2. pin Environment 1 to it
  3. Environment 1 should be selected in the drop-down
  4. open Collection 2
  5. Environment 1 should still be selected
  6. pin Environment 2 to it
  7. Environment 2 should be selected in the drop-down
  8. return to Collection 1
  9. Environment 2 is still selected, whereas i expected Environment 1 to be selected

Screenshots or Videos

No response

Operating System

macOS

Postman Version

11.46.2

Postman Platform

Postman App

User Account Type

Signed In User

Additional Context?

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant