Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to Assign a ticket from jenkins to jira using jira pipeline steps?

banuchandra July 12, 2023

when am using below getting some userId related issues 

code:
jiraAssignIssue site: 'jira', idOrKey: 'TEST-5', userName: 'banuchandra'

error:

JIRA: Site - jira - Assigning issue: TEST-5 to: banuchandra
Error Code: 400
Error Message: {"errorMessages":["'accountId' must be the only user identifying query parameter in GDPR strict mode."],"errors":{}}

can someone pls help me on this 

1 answer

0 votes
Mohamed Benziane
Community Champion
July 12, 2023

Hi,

Try to put the account id and not the username in your code.

banuchandra July 12, 2023

have tried with the account id

712020:8e22bd63-00ea-4bd8-8057-2f5b4b958ca9

banuchandra July 12, 2023

but no luck getting the below error

Error Message: {"errorMessages":["'accountId' must be the only user identifying query parameter in GDPR strict mode."],"errors":{}}

banuchandra July 13, 2023

have modified the code to accountId still getting the same error

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events