Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can't resolve class com.atlassian.jira.bc.issue.SearchService

Никита Иванков August 14, 2020

Hello,
sorry in advance, I'm not a developer but I have to complete some task -
could anyone please specify how I can use this class in my JAVA code:
com.atlassian.jira.bc.issue.search.SearchService

I've seen a lot of examples, for instance:
https://rozdoum.com/blog_articles/items/how-to-create-JIRA-Spring-Scanner-plugin-from-scratch.html
"import com.atlassian.jira.bc.issue.SearchService"

But I don't even see this class in JIRA public repositories:
https://packages.atlassian.com/mvn/maven-external/com/atlassian/jira/

So I can't create a dependency in POM.xml file
Thank you

1 answer

1 accepted

0 votes
Answer accepted
Martin Bayer _MoroSystems_ s_r_o__
Community Champion
August 15, 2020

The only dependenc you should need is

<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-api</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>

If it won't work, can you post Version of your Jira?

Никита Иванков August 17, 2020

the problem is solved, thank you

Martin Bayer _MoroSystems_ s_r_o__
Community Champion
August 17, 2020

Could you accept the answer pls?

Suggest an answer

Log in or Sign up to answer