Change Assignee issue problem with Jira SOAP


I having some trouble changing the assignee on an issue. I tried some commands :

  • JiraSoapService.updateIssue(token, issueDejaCree.getKey(), new RemoteFieldValue[] { new RemoteFieldValue("assignee", new String[] {"username"}) });
  • JiraSoapService.progressWorkflowAction(issueAModif, "11", new RemoteFieldValue[] { new RemoteFieldValue("assignee", new String[] {"username"}) });

I use an administrator account and I have rights to assign user. I can update all other field from issue (except Reporter).

The users that I want to assign are in the right project, I think it's not the problem.

Does anybody know what to do ?


1 answer

0 votes

That strongly suggests that your SOAP user does not have the rights to assign user (your admin account is irrelevant here - what does the permission scheme say?)

In the web UI, I see that my SOAP user have the right to assign user.

Manager have right to assign and the role of my SOAP user is manager.

Ok, it's good to confirm. Next question along the same lines - can you actually assign the issue in the UI with that user? Does it appear on screen when you edit?

Yes no problem with the UI

Oh, hang on, sorry, I might have missed something You've got RemoteFieldValue("assignee", new String[] {"username"}) }); But assignee is a single value, so don't you need RemoteFieldValue("assignee", new String {"username"}) });

It's not possible, this object use a String array. But I think it's not the problem because I use this method to update other field without problem.

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,897 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot