Jira
Creating the API token in JIRA
- Log in to https://id.atlassian.com/manage/api-tokens.
- Click 'Create API token.'
- From the dialog that appears, enter a memorable and concise 'Label' for your token and click 'Create.'
- Use 'Copy to clipboard' and paste the token into the JIRA API token field on the JIRA account user page.
Note:
- For security reasons it isn't possible to view the token after closing the creation dialog; if necessary, create a new token.
- You should store the token securely, just as for any password.
Connect Jira in NudgeBee
-
Go to Admin → Integrations → Ticketing → Jira and click Add Jira Account.
-
Fill in the form:
Field What to enter Name A name for this connection Account URL Your Jira URL, for example https://your-domain.atlassian.net. For Jira Data Center on a context path, include it — for examplehttps://jira.example.com/jiraAuthentication method Username + API Token (Jira Cloud, or Data Center with a password) or Data Center PAT User Name The account's email address (Cloud) or username (Data Center). Hidden for Data Center PAT Token The API token (Cloud), the password (Data Center), or the personal access token (Data Center PAT) -
Click Test Connection — NudgeBee lists one project to confirm the credentials work — then save.
NudgeBee calls Jira directly from its servers, so a Jira Data Center instance must be reachable from NudgeBee.
Troubleshooting Jira Integration
1. Connection Test Failed (401 Unauthorized)
- Symptom: Clicking Test Connection returns
Authentication failed: Invalid credentials. - Root Causes:
- Email vs Username: In Jira Cloud (Atlassian Cloud), you must use the account email address as the username, combined with an API token (not your Atlassian password).
- Jira Server / Data Center: Choose Data Center PAT and paste a personal access token, or use Username + API Token with the username and password.
- Remediation:
- Generate a new API token at
https://id.atlassian.com/manage/api-tokens. - Verify that the email matches the exact account that generated the token.
- For Jira Cloud, use
https://<your-domain>.atlassian.net(no trailing/secure). For Data Center, include the context path if Jira is served under one (for example/jira).
- Generate a new API token at
2. Ticket Creation Fails (Field 'customfield_XXXXX' cannot be set)
- Symptom: Automated ticket creation fails with
Error creating Jira issue: Field customfield_10024 is mandatory. - Root Cause: Your Jira Project's Issue Type Scheme requires specific mandatory custom fields (e.g. Environment, Team, Root Cause Category) that are not mapped in the NudgeBee ticket template.
- Remediation:
- Check the required fields for the issue type by hitting the Jira Create Metadata API:
curl -u [email protected]:<API_TOKEN> \"https://your-domain.atlassian.net/rest/api/3/issue/createmeta?projectKeys=PROD&expand=projects.issuetypes.fields"
- Navigate to Admin → Integrations → Ticketing → Jira.
- Inspect the ticket creation form or workflow ticket task and supply the fields required by the selected project and issue type. Use the available field metadata; do not assume every field accepts workflow template expressions.
- Check the required fields for the issue type by hitting the Jira Create Metadata API:
3. Assignee User Not Found (User does not exist or has no permission)
- Symptom: Ticket creation fails when specifying a default assignee.
- Root Cause: Jira Cloud uses Atlassian
accountId(e.g.5b10ac8d82e05b22cc7d4ef5) instead of usernames, and the user must have the Assignable User permission in the target project. - Remediation:
- In Jira Project Settings $\rightarrow$ Permissions, verify the user has Assignable User and Create Issues rights.
- In Jira Cloud, enter the target user's
accountIdor leave assignee empty to allow Jira's default component lead assignment.
4. Jira Ticket Status Is Stale
The ticket server synchronizes Jira ticket details by fetching the linked issues and updating NudgeBee ticket records. There is no /api/webhooks/jira/status_sync endpoint to configure for this flow.
- Confirm the issue is accessible using the integration's configured account.
- Check the linked ticket ID and integration configuration.
- Ask an administrator to inspect ticket-server synchronization errors and the sync job if the record remains stale.
A synchronized ticket status is separate from the linked event's NudgeBee triage status. Do not assume closing a Jira issue automatically resolves that event.