Context Provider on web panel where the location is servicedesk.portal.request.panels

Rui Rodrigues
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
December 20, 2016

Hi Folks,

I'm trying to add a new panel on ServiceDesk portal view page. I've configured a contex-provider on the web-panel. When that page opens I get a nullpointer.

I'm extending a AbstractJiraContextProvider and the error happens when the method getContextMap is invoked the jiraHelper variable is null.

public Map<String, Object> getContextMap(ApplicationUser user, JiraHelper jiraHelper)

Any suggestion?

Thank you.

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

3 votes
Rui Rodrigues
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 9, 2017

Hi guys,

I've found the problem/solution. I was extending AbstractJiraContextProvider intead implementing the ContextProvider.

This was the solution.

Thanks,

Rui Rodrigues.

TAGS
AUG Leaders

Atlassian Community Events