{"action":"created","issue":{"url":"https://api.github.com/repos/preciousforever/data-populator/issues/155","repository_url":"https://api.github.com/repos/preciousforever/data-populator","labels_url":"https://api.github.com/repos/preciousforever/data-populator/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/preciousforever/data-populator/issues/155/comments","events_url":"https://api.github.com/repos/preciousforever/data-populator/issues/155/events","html_url":"https://github.com/preciousforever/data-populator/issues/155","id":369472130,"node_id":"MDU6SXNzdWUzNjk0NzIxMzA=","number":155,"title":"Missing Data – Use other data instead of substitute","user":{"login":"dave-morris","id":15140494,"node_id":"MDQ6VXNlcjE1MTQwNDk0","avatar_url":"https://avatars0.githubusercontent.com/u/15140494?v=4","gravatar_id":"","url":"https://api.github.com/users/dave-morris","html_url":"https://github.com/dave-morris","followers_url":"https://api.github.com/users/dave-morris/followers","following_url":"https://api.github.com/users/dave-morris/following{/other_user}","gists_url":"https://api.github.com/users/dave-morris/gists{/gist_id}","starred_url":"https://api.github.com/users/dave-morris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dave-morris/subscriptions","organizations_url":"https://api.github.com/users/dave-morris/orgs","repos_url":"https://api.github.com/users/dave-morris/repos","events_url":"https://api.github.com/users/dave-morris/events{/privacy}","received_events_url":"https://api.github.com/users/dave-morris/received_events","type":"User","site_admin":false},"labels":[{"id":207252578,"node_id":"MDU6TGFiZWwyMDcyNTI1Nzg=","url":"https://api.github.com/repos/preciousforever/data-populator/labels/enhancement","name":"enhancement","color":"84b6eb","default":true},{"id":209065500,"node_id":"MDU6TGFiZWwyMDkwNjU1MDA=","url":"https://api.github.com/repos/preciousforever/data-populator/labels/feature","name":"feature","color":"207de5","default":false},{"id":207252579,"node_id":"MDU6TGFiZWwyMDcyNTI1Nzk=","url":"https://api.github.com/repos/preciousforever/data-populator/labels/help%20wanted","name":"help wanted","color":"159818","default":true},{"id":1098758508,"node_id":"MDU6TGFiZWwxMDk4NzU4NTA4","url":"https://api.github.com/repos/preciousforever/data-populator/labels/sketch","name":"sketch","color":"FFBC00","default":false},{"id":1098758173,"node_id":"MDU6TGFiZWwxMDk4NzU4MTcz","url":"https://api.github.com/repos/preciousforever/data-populator/labels/xd","name":"xd","color":"FF26BE","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-12T09:30:48Z","updated_at":"2018-10-27T17:06:15Z","closed_at":null,"author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\nWhere there is no data, I would then like to specify another string of data. However, I don't want both to be populated whilst the first specified exists.\r\n\r\n**Describe the solution you'd like**\r\nI would like to name the text layer something along the lines of `{awesome_title?{standard_title}}`\r\n\r\nWhereby, if awesome_title does not exist then I would like to use the standard title.\r\n\r\n**Describe alternatives you've considered**\r\nI have used the show and hide conditional actions with some success, but the hidden layer is playing havoc when grouped together.\r\n\r\n**Text Layer 1:** `#show[\"{awesome_title}\".length == 0], {standard_title}`\r\n**Text Layer 2:** `#show[\"{awesome_title}\".length > 0], {awesome_title}`\r\n\r\nThis will show the correct piece of data and hide the other. But the dream is to achieve this with one single layer."},"comment":{"url":"https://api.github.com/repos/preciousforever/data-populator/issues/comments/433637825","html_url":"https://github.com/preciousforever/data-populator/issues/155#issuecomment-433637825","issue_url":"https://api.github.com/repos/preciousforever/data-populator/issues/155","id":433637825,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzYzNzgyNQ==","user":{"login":"nitrada","id":1927315,"node_id":"MDQ6VXNlcjE5MjczMTU=","avatar_url":"https://avatars2.githubusercontent.com/u/1927315?v=4","gravatar_id":"","url":"https://api.github.com/users/nitrada","html_url":"https://github.com/nitrada","followers_url":"https://api.github.com/users/nitrada/followers","following_url":"https://api.github.com/users/nitrada/following{/other_user}","gists_url":"https://api.github.com/users/nitrada/gists{/gist_id}","starred_url":"https://api.github.com/users/nitrada/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nitrada/subscriptions","organizations_url":"https://api.github.com/users/nitrada/orgs","repos_url":"https://api.github.com/users/nitrada/repos","events_url":"https://api.github.com/users/nitrada/events{/privacy}","received_events_url":"https://api.github.com/users/nitrada/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T17:06:15Z","updated_at":"2018-10-27T17:06:15Z","author_association":"MEMBER","body":"@dave-morris it's now possible with the latest version for Sketch: https://www.datapopulator.com/sketch/changelog.html#v3-0-1\r\n\r\nPlease check it out and let us know if it works for you!"}}
{"actor":{"display_login":"nitrada"}}