I have when writing scripts come across several ocations when i get errors such as "this user type cant be cast to that user type". And when i access the issue.assignee/assigneeId/assigneeUser - whats the difference? And what kind of user does e.g. a User Single Select want?
Is there somewhere I can read about all this?
It's confusing. This is the best explanation of the different types of users and why they exist: https://developer.atlassian.com/display/JIRADEV/Renamable+Users+in+JIRA+6.0
issue.assignee and assigneeUser are synonyms and return a com.atlassian.crowd.embedded.api.User. I don't know why two methods are required.
assigneeId just returns the username. Or could it be the user key? I don't even know.
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!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
We're bringing product updates and pro tips on teamwork to ten cities around the world.Save your spot