How can I create a project in Jira using Jira Java api?

BritikovMI March 29, 2019

All the answers I've seen use the ComponentAccessor, which in turn issues an exception asking to initialize the mockito

  1. What, in turn, implies the use for testing purposes, do I understand it correctly?
  2. On the other hand, I need to create projects in real Jira, automatically
    How can I do that?

Thank you!

2 answers

1 vote
Tanya Gordon
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2019

Hi,

Maybe try using REST Api for that... Take a look here

https://docs.atlassian.com/software/jira/docs/api/REST/8.0.2/#api/2/project

BritikovMI March 29, 2019

Tnx! It works great

But I would like to create projects using Jira Java api

0 votes
Mehmet Şirin Usanmaz
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
March 29, 2019

Suggest an answer

Log in or Sign up to answer