Skip to content

Commit

Permalink
docs: added jira meta prop doc
Browse files Browse the repository at this point in the history
  • Loading branch information
lazerblasters committed Sep 22, 2021
1 parent 3ee2b49 commit 6de8431
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions website/docs/FeedbackReporter.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,14 @@ Use this prop to order jira components, exclude any control that you wish to hid
| ---- | ---- |
| array of enums(`'jira_switch'`, `'jira_projects'`, `'jira_issue_types'`, `'jira_account_linking'`) | `['jira_switch', 'jira_projects', 'jira_issue_types', 'jira_account_linking']` |

### `meta`

Use this prop to pass meta data that can modify the jira issue. Look at the options [here](https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-issues/#api-rest-api-3-issue-post-example)

| Type | Default |
| ---- | ---- |
| { labels: string[] } | undefined |

**Example**:

```js
Expand All @@ -205,6 +213,9 @@ import { FeedbackReporter, JIRAComponents } from 'react-native-feedback-reporter
JIRAComponents.JIRAIssueTypes,
JIRAComponents.JIRAAccountLinking,
],
meta: {
labels: ['test', 'this'],
},
}}
/>
```
Expand Down

0 comments on commit 6de8431

Please sign in to comment.