{"action":"created","issue":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/1401","labels_url":"https://api.github.com/repos/mesosphere/marathon/issues/1401/labels{/name}","comments_url":"https://api.github.com/repos/mesosphere/marathon/issues/1401/comments","events_url":"https://api.github.com/repos/mesosphere/marathon/issues/1401/events","html_url":"https://github.com/mesosphere/marathon/issues/1401","id":68870106,"number":1401,"title":"About environment variable","user":{"login":"hyper-carrot","id":315569,"avatar_url":"https://avatars.githubusercontent.com/u/315569?v=3","gravatar_id":"","url":"https://api.github.com/users/hyper-carrot","html_url":"https://github.com/hyper-carrot","followers_url":"https://api.github.com/users/hyper-carrot/followers","following_url":"https://api.github.com/users/hyper-carrot/following{/other_user}","gists_url":"https://api.github.com/users/hyper-carrot/gists{/gist_id}","starred_url":"https://api.github.com/users/hyper-carrot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hyper-carrot/subscriptions","organizations_url":"https://api.github.com/users/hyper-carrot/orgs","repos_url":"https://api.github.com/users/hyper-carrot/repos","events_url":"https://api.github.com/users/hyper-carrot/events{/privacy}","received_events_url":"https://api.github.com/users/hyper-carrot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-04-16T08:15:21Z","updated_at":"2015-04-17T08:53:45Z","closed_at":null,"body":"I define mine environment variable while I create and start a new app via curl & the rest api, for example:\r\n```bash\r\n\"BAMBOO_WEBSOCKET_PORT\": \"$PORT1\"\r\n```\r\nIt is treated as plain text. But I want to get the second port I defined via `$PORT[1]` \r\n```\r\n{\r\n  \"app\": {\r\n    ......\r\n    \"env\": {\r\n      \"BAMBOO_WEBSOCKET_PORT\": \"$PORT1\"\r\n    },\r\n    ......\r\n    \"ports\": [\r\n      10083,    \r\n      10084    <---- I WANT TO GET IT\r\n    ],\r\n    ......\r\n}\r\n```\r\n\r\nHave any suggestion or plan for this?"},"comment":{"url":"https://api.github.com/repos/mesosphere/marathon/issues/comments/93946731","html_url":"https://github.com/mesosphere/marathon/issues/1401#issuecomment-93946731","issue_url":"https://api.github.com/repos/mesosphere/marathon/issues/1401","id":93946731,"user":{"login":"drexin","id":433020,"avatar_url":"https://avatars.githubusercontent.com/u/433020?v=3","gravatar_id":"","url":"https://api.github.com/users/drexin","html_url":"https://github.com/drexin","followers_url":"https://api.github.com/users/drexin/followers","following_url":"https://api.github.com/users/drexin/following{/other_user}","gists_url":"https://api.github.com/users/drexin/gists{/gist_id}","starred_url":"https://api.github.com/users/drexin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drexin/subscriptions","organizations_url":"https://api.github.com/users/drexin/orgs","repos_url":"https://api.github.com/users/drexin/repos","events_url":"https://api.github.com/users/drexin/events{/privacy}","received_events_url":"https://api.github.com/users/drexin/received_events","type":"User","site_admin":false},"created_at":"2015-04-17T08:53:45Z","updated_at":"2015-04-17T08:53:45Z","body":"Could you please explain your use case in a bit more detail? "}}