Hi all,
I started to create a process in which a Jira ticket is created and assigned to another person.
The sequence is as follows:
User fills a Google form>>App Script trigger works on new row insert>> Jira ticket created with Rest API and assigns to specific person >> User and assignee get notified.
I am trying to add Assignee to a Jira ticket with the help of AccountID using Rest API.
I am successful in creating it but the App script is failing specifically for long AccountIDs.
For example, a Jira ticket is being created and adding an assignee with help of accountID which looks like 5f3becff3ab35c003f30d837.
But failed to create with accountID which looks like 71121:6b1f7b04-6e9e-4276-b4d8-4d7b1678e327.
Any suggestions on how to fix this issue.
Many thanks,
Hi,
Here is the API doc: accountId is the param to use cause all others have been deprecated...
accountId
stringThe account ID of the user, which uniquely identifies the user across all Atlassian products. For example, 5b10ac8d82e05b22cc7d4ef5. Required in requests.
Max length: 128
There is also some needed permissions to assign issues, maybe the failing user doesn't have enough permissions:
Permissions required:
- Browse Projects and Assign Issues project permission for the project that the issue is in.
- If issue-level security is configured, issue-level security permission to view the issue.
I hope this helps a bit.
Cheers,
Dam.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.