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.
Thanks that helped me understand it somewhat. Its indeed confusing.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.