Hello,
I'm developing a plugin wich contains a Web panel in the Issue view.
I need to show some data from issue fields in my panel, but actually can't.
JiraHelper jiraHelper = new JiraHelper();
Issue currentIssue = (Issue) jiraHelper.getContextParams().get("issue");
summary = currentIssue.getSummary();
Actually i'm using this code, but is not working.
Anyone know how can i fix it?
Hi Jorge,
Usually you don't need to create JiraHelper by yourself. I think in that case you have empty context params at all. I extend my context provider from AbstractJiraContextProvider and override public Map<String, Object> getContextMap(ApplicationUser applicationUser, JiraHelper jiraHelper) method. So you are provided JiraHelper. You just need to use it.
Finally was that.
I didn't see I had a Context provider get on my web panel, when I just use it it worked without any problems, thanks anyway!
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.