[GH-ISSUE #2076] [feature]: use env variables in environments #686

Closed
opened 2026-03-16 16:41:25 +03:00 by kerem · 2 comments
Owner

Originally created by @Schloemicher on GitHub (Jan 20, 2022).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2076

Is there an existing issue for this?

  • I have searched the existing issues

Summary

image

image

result: <<base>> resolves "test.example.org" if environment "Host 1" is chosen
result: <<base>> resolves to ".example.org" if environment "Global" or no environment is chosen

Why should this be worked on?

  • The other environments are much easier to maintain
  • No workaround with Pre-request skripts in each Request needed
Originally created by @Schloemicher on GitHub (Jan 20, 2022). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/2076 ### Is there an existing issue for this? - [X] I have searched the existing issues ### Summary ![image](https://user-images.githubusercontent.com/17760063/150327069-15b67398-c86e-499d-b9a8-ca500a95b62c.png) ![image](https://user-images.githubusercontent.com/17760063/150327205-4ca4da4d-7c3f-4636-adb7-7c6b185d3bca.png) result: `<<base>>` resolves "test.example.org" if environment "Host 1" is chosen result: `<<base>>` resolves to ".example.org" if environment "Global" or no environment is chosen ### Why should this be worked on? - The other environments are much easier to maintain - No workaround with Pre-request skripts in each Request needed
kerem 2026-03-16 16:41:25 +03:00
  • closed this issue
  • added the
    feature
    label
Author
Owner

@liyasthomas commented on GitHub (Jan 20, 2022):

Hi @Schloemicher, thank you for this feature request. This sounds like a good-to-have feature.

<!-- gh-comment-id:1017400508 --> @liyasthomas commented on GitHub (Jan 20, 2022): Hi @Schloemicher, thank you for this feature request. This sounds like a good-to-have feature.
Author
Owner

@liyasthomas commented on GitHub (Feb 14, 2022):

Implemented in github.com/hoppscotch/hoppscotch@7fc757d794, hence closing.

<!-- gh-comment-id:1038495058 --> @liyasthomas commented on GitHub (Feb 14, 2022): Implemented in https://github.com/hoppscotch/hoppscotch/commit/7fc757d79469d7bb72d8737aa87387fc693e4ac5, hence closing.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#686
No description provided.