i am setting up my eclipse to help setup a report plugin environment. I have everything setup right based on the informaiotn to setup development environement using the ltest jira sdk.
Now i am trying to setup the test report using the instruction provided in the below
Based on the information when i try to setup the java file. i get promted for errors in my IDE - unable to find the follwoing classes
i am using atlassian-jir-api 5.0 and when i look at it i do not see the class files in the jar. but all the docs has information on statsGroup. Is there any thing that I am missing.
can someone help me with this issue.
jira-core is commented out by default in the pom.xml. Uncommenting it should fix the problem.
I really think Atlassian should do some updates on their report plugin tutorial. On one side dependency on jira-core is not recommended, on the other the tutorial offers no alternative. What is the right thing to do?
I also had the same issue! Luckily at last I found out:
1) I first pressed STRG + Shift + T in Eclipse and searched for "StatsGroup". I found out, that the class should be in the jar: C:\Programme\Eclipse\workspace\Jira 3 Libs\jars\atlassian-jira-3.13.3.jar
2) I searched for "HitCollector" and found out it is in jar: lucene-core-2.2.0.jar
3) I added these jars to my project-buildpath in Eclipse and the errors were gone.
4) At last I searched for "TextUtils", which is in the same package as the "opensymphony.user.User" and found out that it's in jar: oscore-2.2.7.jar. But adding this jar didn't solve the issue. Then I found the jar osuser-1.0-dev-log4j... and added this. The user-problem had been solved!
But still I have some "HitCollector"-problem . . .
I'm having similar problems. I have imported com.atlassian.jira.issue.statistics.StatisticsMapper and Eclipse can see that lib. It fails to find com.atlassian.jira.issue.statistics.StatsGroup. I'm using SDK 4.0 and I've got jira-api-5.1.8.jar included in my project.
The JavaDocs show me that jira-api-5.1.8.jar should have StatsGroup but it doesn't.
import com.atlassian.jira.issue.statistics.FilterStatisticsValuesGenerator; // Works import com.atlassian.jira.issue.statistics.StatisticsMapper; // Works import com.atlassian.jira.issue.statistics.StatsGroup; // Missing import com.atlassian.jira.issue.statistics.util.OneDimensionalDocIssueHitCollector; // Missing
I'm having an identical problem with the import com.atlassian.jira.web.bean library:
import com.atlassian.jira.web.bean.FieldVisibilityBean; //MISSING import com.atlassian.jira.web.bean.PagerFilter; // WORKS
If there's a solution, please point me to it. I'm out of ideas.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Atlassian Community! My name is Shana, and I’m on the Jira Software team. One of the many reasons this Community exists is to connect you to others on similar product journeys or with comparabl...
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