Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,556,237
Community Members
 
Community Events
184
Community Groups

[ERROR] building plugin while following tutorial

hi

i follow all the steps from this page

https://developer.atlassian.com/jiradev/jira-platform/guides/issues/tutorial-adding-content-to-the-jira-view-issue-page

 

i have 2 problems that probably is the same reason

to the last step that i run "atlas-run" 

i have this error

DueDateIndicator is not abstract and does not override abstract method getContextMap(ApplicationUser,JiraHelper) in AbstractJiraContextProvider
[ERROR] C:\Users\Nikos\workspace\tutorial-jira-add-content-to-view-issue-screen\src\main\java\com\example\plugins\tutorial\DueDateIndicator.java:[16,4] error: method does not override or implement a method from a supertype

 

i open it from eclipse (platform Version: 4.2.1.v20130118-173121-9MF7GHYdG0B5kx4E_SkfZV-1mNjVATf67ZAb7)

 

and it cant find the class in "com.atlassian" and the classes inside

any help ?

1 comment

I had the same problem. It seems like com.atlassian.crowd.embedded.api.User is supposed to work as a com.atlassian.jira.user.ApplicationUser through some polymorphism but doesn't.

Change

import com.atlassian.crowd.embedded.api.User;

 to

import com.atlassian.jira.user.ApplicationUser;

and change

public Map getContextMap(User user, JiraHelper jiraHelper)

to

public Map getContextMap(ApplicationUser user, JiraHelper jiraHelper) 

 

That worked for me. I'll submit feedback to Atlassian to see if they need to change their tutorial.

Comment

Log in or Sign up to comment
TAGS
AUG Leaders

Atlassian Community Events