{"action":"created","comment":{"url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/comments/35745107","id":35745107,"diff_hunk":"@@ -0,0 +1,124 @@\n+Zendesk provides a number of ways to add additional information to tickets. This helps provide context for agents or can be even used to trigger business logic. The iOS and Android mobile SDKs provide four ways to append additional information. This information is stored globally so it can be set at anytime before a ticket is created. Below is a brief summary followed by examples of how to use each type in the mobile SDKs.\n+\n+\n+* **Ticket Fields:** Ticket fields contain data about a ticket, such as subject, requester, status, and description. For more information please see [About Ticket Fields](https://support.zendesk.com/hc/en-us/articles/203661506-About-ticket-fields).\n+* **Tags:** Tags are words you can use to add more context to tickets. For more information please see [Using Tags](https://support.zendesk.com/hc/en-us/articles/203662096-Using-tags).\n+* **Additional test:** The iOS and Android mobile SDKs allow you to appended additional text directly to each ticket created.\n+* **Ticket forms (Enterprise only):** A ticket form is a set of predefined ticket fields for a specific support request. For more information please see [Creating Ticket Forms](https://support.zendesk.com/hc/en-us/articles/203661616-Creating-ticket-forms-to-support-multiple-request-types-Enterprise-).\n+\n+\n+### Ticket Fields\n+One important pre-requisite before adding ticket fields to requests created in the mobile SDKs is to make said ticket fields editable by end-users, as all of the Mobile SDKs interactions with Zendesk are done so from the perspective of an end user. If you do not do this the values set in the requests will be discarded. This can be done in Admin -> Ticket Fields (Under the Manage subheading) and clicking edit beside the relevant ticket field. From here you can make the field editable by end-users.","path":"Articles/Adding-metadata-to-tickets-created-by-the-Mobile-SDK.md","position":11,"original_position":11,"commit_id":"8b3a64a4fb0d97438010e691538f295104260078","original_commit_id":"8b3a64a4fb0d97438010e691538f295104260078","user":{"login":"baz8080","id":1534413,"avatar_url":"https://avatars.githubusercontent.com/u/1534413?v=3","gravatar_id":"","url":"https://api.github.com/users/baz8080","html_url":"https://github.com/baz8080","followers_url":"https://api.github.com/users/baz8080/followers","following_url":"https://api.github.com/users/baz8080/following{/other_user}","gists_url":"https://api.github.com/users/baz8080/gists{/gist_id}","starred_url":"https://api.github.com/users/baz8080/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/baz8080/subscriptions","organizations_url":"https://api.github.com/users/baz8080/orgs","repos_url":"https://api.github.com/users/baz8080/repos","events_url":"https://api.github.com/users/baz8080/events{/privacy}","received_events_url":"https://api.github.com/users/baz8080/received_events","type":"User","site_admin":false},"body":"prerequisite is not a hyphenated word.","created_at":"2015-07-29T10:13:10Z","updated_at":"2015-07-29T10:13:10Z","html_url":"https://github.com/zendesk/zendesk_sdk_ios/pull/48#discussion_r35745107","pull_request_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48","_links":{"self":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/comments/35745107"},"html":{"href":"https://github.com/zendesk/zendesk_sdk_ios/pull/48#discussion_r35745107"},"pull_request":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48"}}},"pull_request":{"url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48","id":40360080,"html_url":"https://github.com/zendesk/zendesk_sdk_ios/pull/48","diff_url":"https://github.com/zendesk/zendesk_sdk_ios/pull/48.diff","patch_url":"https://github.com/zendesk/zendesk_sdk_ios/pull/48.patch","issue_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/48","number":48,"state":"open","locked":false,"title":"[MSDK 690] Initial wiki structure + sending additional data in a ticket article","user":{"login":"StevenDiviney","id":9431616,"avatar_url":"https://avatars.githubusercontent.com/u/9431616?v=3","gravatar_id":"","url":"https://api.github.com/users/StevenDiviney","html_url":"https://github.com/StevenDiviney","followers_url":"https://api.github.com/users/StevenDiviney/followers","following_url":"https://api.github.com/users/StevenDiviney/following{/other_user}","gists_url":"https://api.github.com/users/StevenDiviney/gists{/gist_id}","starred_url":"https://api.github.com/users/StevenDiviney/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StevenDiviney/subscriptions","organizations_url":"https://api.github.com/users/StevenDiviney/orgs","repos_url":"https://api.github.com/users/StevenDiviney/repos","events_url":"https://api.github.com/users/StevenDiviney/events{/privacy}","received_events_url":"https://api.github.com/users/StevenDiviney/received_events","type":"User","site_admin":false},"body":"## Changes\r\n- First article :tada: \r\n- Added images directory for the wiki\r\n- We should probably make the docs team aware of this(?)\r\n\r\n\r\n## Reviewers\r\n@pierrezen @tecknut @RonanMcH @baz8080 @schlan @BPlano\r\n\r\n## References\r\nJIRA: https://zendesk.atlassian.net/browse/MSDK-690","created_at":"2015-07-20T14:52:12Z","updated_at":"2015-07-29T10:13:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"27952cf0ba75dd7b9c6fbac979267ffdcec617a7","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48/commits","review_comments_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48/comments","review_comment_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/comments{/number}","comments_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/48/comments","statuses_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/statuses/8b3a64a4fb0d97438010e691538f295104260078","head":{"label":"zendesk:sdiviney/Additional-data-article","ref":"sdiviney/Additional-data-article","sha":"8b3a64a4fb0d97438010e691538f295104260078","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":21159598,"name":"zendesk_sdk_ios","full_name":"zendesk/zendesk_sdk_ios","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/zendesk_sdk_ios","description":"Zendesk Mobile SDK for iOS","fork":false,"url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios","forks_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/forks","keys_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/teams","hooks_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/hooks","issue_events_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/events","assignees_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/tags","blobs_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/languages","stargazers_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/stargazers","contributors_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/contributors","subscribers_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/subscribers","subscription_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/subscription","commits_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/merges","archive_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/downloads","issues_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/releases{/id}","created_at":"2014-06-24T09:40:27Z","updated_at":"2015-06-20T21:56:40Z","pushed_at":"2015-07-20T14:52:12Z","git_url":"git://github.com/zendesk/zendesk_sdk_ios.git","ssh_url":"git@github.com:zendesk/zendesk_sdk_ios.git","clone_url":"https://github.com/zendesk/zendesk_sdk_ios.git","svn_url":"https://github.com/zendesk/zendesk_sdk_ios","homepage":"https://developer.zendesk.com/embeddables/docs/ios/overview","size":65750,"stargazers_count":16,"watchers_count":16,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":14,"forks":8,"open_issues":14,"watchers":16,"default_branch":"master"}},"base":{"label":"zendesk:master","ref":"master","sha":"8208abcb24045b88c2ec71c3f0646bea2e52ec0f","user":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"repo":{"id":21159598,"name":"zendesk_sdk_ios","full_name":"zendesk/zendesk_sdk_ios","owner":{"login":"zendesk","id":11525,"avatar_url":"https://avatars.githubusercontent.com/u/11525?v=3","gravatar_id":"","url":"https://api.github.com/users/zendesk","html_url":"https://github.com/zendesk","followers_url":"https://api.github.com/users/zendesk/followers","following_url":"https://api.github.com/users/zendesk/following{/other_user}","gists_url":"https://api.github.com/users/zendesk/gists{/gist_id}","starred_url":"https://api.github.com/users/zendesk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zendesk/subscriptions","organizations_url":"https://api.github.com/users/zendesk/orgs","repos_url":"https://api.github.com/users/zendesk/repos","events_url":"https://api.github.com/users/zendesk/events{/privacy}","received_events_url":"https://api.github.com/users/zendesk/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/zendesk/zendesk_sdk_ios","description":"Zendesk Mobile SDK for iOS","fork":false,"url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios","forks_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/forks","keys_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/teams","hooks_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/hooks","issue_events_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/events{/number}","events_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/events","assignees_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/assignees{/user}","branches_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/branches{/branch}","tags_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/tags","blobs_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/refs{/sha}","trees_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/statuses/{sha}","languages_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/languages","stargazers_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/stargazers","contributors_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/contributors","subscribers_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/subscribers","subscription_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/subscription","commits_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/commits{/sha}","git_commits_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/git/commits{/sha}","comments_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/comments{/number}","issue_comment_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/comments{/number}","contents_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/contents/{+path}","compare_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/merges","archive_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/downloads","issues_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues{/number}","pulls_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls{/number}","milestones_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/milestones{/number}","notifications_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/labels{/name}","releases_url":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/releases{/id}","created_at":"2014-06-24T09:40:27Z","updated_at":"2015-06-20T21:56:40Z","pushed_at":"2015-07-20T14:52:12Z","git_url":"git://github.com/zendesk/zendesk_sdk_ios.git","ssh_url":"git@github.com:zendesk/zendesk_sdk_ios.git","clone_url":"https://github.com/zendesk/zendesk_sdk_ios.git","svn_url":"https://github.com/zendesk/zendesk_sdk_ios","homepage":"https://developer.zendesk.com/embeddables/docs/ios/overview","size":65750,"stargazers_count":16,"watchers_count":16,"language":"Objective-C","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":8,"mirror_url":null,"open_issues_count":14,"forks":8,"open_issues":14,"watchers":16,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48"},"html":{"href":"https://github.com/zendesk/zendesk_sdk_ios/pull/48"},"issue":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/48"},"comments":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/issues/48/comments"},"review_comments":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48/comments"},"review_comment":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/pulls/48/commits"},"statuses":{"href":"https://api.github.com/repos/zendesk/zendesk_sdk_ios/statuses/8b3a64a4fb0d97438010e691538f295104260078"}}}}