Forums

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

JIRA Unit Tests - IllegalStateException: ComponentAccessor

Ibrahim hussam May 14, 2019

Hello Dears,

 

I started to develop a custom App for JIRA.

One of the RestAPIs I developed is designed to create a JIRA Issue using IssueService.

The method works fine, but when I try to create a unit test according to the simple tutorial provided by atlassian I get this error:

 {code} java.lang.IllegalStateException: ComponentAccessor has not been initialised. {code}

How to Initilize ComponentAccessor and other JIRA components like IssueService. ?

 

Best Regards,

 

0 answers

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events