{"action":"opened","issue":{"url":"https://api.github.com/repos/TykTechnologies/tyk/issues/2032","repository_url":"https://api.github.com/repos/TykTechnologies/tyk","labels_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/2032/labels{/name}","comments_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/2032/comments","events_url":"https://api.github.com/repos/TykTechnologies/tyk/issues/2032/events","html_url":"https://github.com/TykTechnologies/tyk/issues/2032","id":393122643,"node_id":"MDU6SXNzdWUzOTMxMjI2NDM=","number":2032,"title":"Support advanced URL rewrites based on context","user":{"login":"buger","id":14009,"node_id":"MDQ6VXNlcjE0MDA5","avatar_url":"https://avatars2.githubusercontent.com/u/14009?v=4","gravatar_id":"","url":"https://api.github.com/users/buger","html_url":"https://github.com/buger","followers_url":"https://api.github.com/users/buger/followers","following_url":"https://api.github.com/users/buger/following{/other_user}","gists_url":"https://api.github.com/users/buger/gists{/gist_id}","starred_url":"https://api.github.com/users/buger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/buger/subscriptions","organizations_url":"https://api.github.com/users/buger/orgs","repos_url":"https://api.github.com/users/buger/repos","events_url":"https://api.github.com/users/buger/events{/privacy}","received_events_url":"https://api.github.com/users/buger/received_events","type":"User","site_admin":false},"labels":[{"id":97816684,"node_id":"MDU6TGFiZWw5NzgxNjY4NA==","url":"https://api.github.com/repos/TykTechnologies/tyk/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":544690560,"node_id":"MDU6TGFiZWw1NDQ2OTA1NjA=","url":"https://api.github.com/repos/TykTechnologies/tyk/labels/needs%20documenting","name":"needs documenting","color":"006b75","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-12-20T16:35:39Z","updated_at":"2018-12-20T16:35:39Z","closed_at":null,"author_association":"MEMBER","body":"**Do you want to request a *feature* or report a *bug*?**\r\nfeature\r\n**What is the current behavior?**\r\nCurrently, we support rewriting by session meta but not by request context variables.\r\n**What is the expected behavior?**\r\nRequest context contains a lot of dynamic data like user IPs, Headers, Cookies, JWT scopes, and etc. \r\nIt will be really cool if we could do rewrites based on JWT scope, or enable some feature based on user IP.\r\n**Which versions of Tyk affected by this issue? Did this work in previous versions of Tyk?**\r\nmaster"}}
{"actor":{"display_login":"buger"}}