{"action":"created","issue":{"url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/882","labels_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/882/labels{/name}","comments_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/882/comments","events_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/882/events","html_url":"https://github.com/a85/POSTMan-Chrome-Extension/issues/882","id":54793384,"number":882,"title":"Reusing pre-request scripts across requests in a collection","user":{"login":"youranwj","id":10199565,"avatar_url":"https://avatars.githubusercontent.com/u/10199565?v=3","gravatar_id":"","url":"https://api.github.com/users/youranwj","html_url":"https://github.com/youranwj","followers_url":"https://api.github.com/users/youranwj/followers","following_url":"https://api.github.com/users/youranwj/following{/other_user}","gists_url":"https://api.github.com/users/youranwj/gists{/gist_id}","starred_url":"https://api.github.com/users/youranwj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youranwj/subscriptions","organizations_url":"https://api.github.com/users/youranwj/orgs","repos_url":"https://api.github.com/users/youranwj/repos","events_url":"https://api.github.com/users/youranwj/events{/privacy}","received_events_url":"https://api.github.com/users/youranwj/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/labels/collection-v2","name":"collection-v2","color":"fef2c0"},{"url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/labels/Feature","name":"Feature","color":"e102d8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-01-19T17:50:15Z","updated_at":"2015-01-30T05:53:34Z","closed_at":null,"body":"I wrote a function in pre-request script of a request before, and now I want to re-use it in other requests without just copying it to those requests. Is there any way to do this? Thanks!"},"comment":{"url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/comments/72157653","html_url":"https://github.com/a85/POSTMan-Chrome-Extension/issues/882#issuecomment-72157653","issue_url":"https://api.github.com/repos/a85/POSTMan-Chrome-Extension/issues/882","id":72157653,"user":{"login":"abhijitkane","id":681190,"avatar_url":"https://avatars.githubusercontent.com/u/681190?v=3","gravatar_id":"","url":"https://api.github.com/users/abhijitkane","html_url":"https://github.com/abhijitkane","followers_url":"https://api.github.com/users/abhijitkane/followers","following_url":"https://api.github.com/users/abhijitkane/following{/other_user}","gists_url":"https://api.github.com/users/abhijitkane/gists{/gist_id}","starred_url":"https://api.github.com/users/abhijitkane/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/abhijitkane/subscriptions","organizations_url":"https://api.github.com/users/abhijitkane/orgs","repos_url":"https://api.github.com/users/abhijitkane/repos","events_url":"https://api.github.com/users/abhijitkane/events{/privacy}","received_events_url":"https://api.github.com/users/abhijitkane/received_events","type":"User","site_admin":false},"created_at":"2015-01-30T05:53:34Z","updated_at":"2015-01-30T05:53:34Z","body":"@drourke @youranwj \r\nJust a quick note - it'll be preferable to use window.customScripts.Utils or something to avoid conflicts with the global namespace."}}