Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unable to set assignee through JIRA REST API

Unable to set assignee through JIRA REST API .NET SDK.

 

1 answer

0 votes

What is the error? What is in your JSON body for the REST call?

Im creating an issue with Atlassian.JIRA SDK.

while assigning the assign with accountID the jira ticket assignee field is not getting updated to the issue. please find the below sample code.

Eg : Sample code:

Issue issue = jira.Issues.GetIssueAsync("TID").Result;
issue .Assignee = "accountid-XXXXX" ;
issue .AssignAsync( "accountid-XXXXX");
Issue issue1 = issue .SaveChangesAsync().Result;

The above code is NOT updating the issue assignee.

Suggest an answer

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

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you