Hello
I develop jira plugin and faced one problem i need to load all statuses from system and link them with statuses from another system.
I found class for receiving statuses from jira but i didn't have this one in my jar which was downloaded through maven.
May be someone know how to fix it?
Thanks!
Hello,
Try to uncomment in the pom.xml
<dependency>
<groupId>com.atlassian.jira</groupId>
<artifactId>jira-core</artifactId>
<version>${jira.version}</version>
<scope>provided</scope>
</dependency>
You can use ConstantsManager.getStatuses()
If my answer helped you, kindly mark as accepted.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can either inject the class or use ComponentAccessor
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.
That helped, thanks.
Just now noticed that there is a huge constructor, mb is another way to get all statuses from jira?
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.