[GH-ISSUE #5518] how to get Collection Variable value in Pre-request Script and Post-request Script #2126

Closed
opened 2026-03-16 23:16:44 +03:00 by kerem · 1 comment
Owner

Originally created by @zsmjluo on GitHub (Oct 28, 2025).
Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5518

Is there an existing issue for this?

  • I have searched existing issues and this bug hasn't been reported yet

Platform

Web App

Browser

Chrome

Operating System

Windows

Bug Description

Ask for help:how to get Collection Variable value in Pre-request Script and Post-request Script?

Deployment Type

Hoppscotch Cloud

Version

No response

Originally created by @zsmjluo on GitHub (Oct 28, 2025). Original GitHub issue: https://github.com/hoppscotch/hoppscotch/issues/5518 ### Is there an existing issue for this? - [x] I have searched existing issues and this bug hasn't been reported yet ### Platform Web App ### Browser Chrome ### Operating System Windows ### Bug Description Ask for help:how to get Collection Variable value in Pre-request Script and Post-request Script? ### Deployment Type Hoppscotch Cloud ### Version _No response_
kerem closed this issue 2026-03-16 23:16:50 +03:00
Author
Owner

@jamesgeorge007 commented on GitHub (Oct 28, 2025):

Hi @zsmjluo, the ability to manage collection variables via scripts is not available currently and will be introduced in upcoming iterations as part of the https://github.com/hoppscotch/hoppscotch/discussions/5221.

<!-- gh-comment-id:3455339083 --> @jamesgeorge007 commented on GitHub (Oct 28, 2025): Hi @zsmjluo, the ability to manage collection variables via scripts is not available currently and will be introduced in upcoming iterations as part of the https://github.com/hoppscotch/hoppscotch/discussions/5221.
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#2126
No description provided.