Null pointer exception when JQL filter returns an issue of which the current assignee has been renamed in JIRA

Issue #6 closed
Christoph Jünger created an issue

The class GratyPanelIssues uses the method issue.getAssigneeId(), and in turn tries to get a UserProfile via userManager.getUserProfile().

This does not work when the assigned user has been renamed in JIRA as getAssigneeId() returns the attribute user_key, and not the attribute user_name.

The latter is required for the call getUserProfile() to work properly. Usually these two attributes have the same values, but when you rename a user, only user_name is updated, whereas the user_key remains the same.

Comments (5)

  1. Christoph Jünger reporter

    We're using v 2.7.2 currently.....

    Thank you very much for your great support - we really appreciate that!!

  2. Log in to comment