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.
Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...
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
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs