Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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 Community Leader Mar 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

Tnx! It works great

But I would like to create projects using Jira Java api

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Software

Presenting the "Best of 2020" Jira Software roundup!

Catch up with Atlassian Product Managers in our 2020 Demo Den round-up! From Advanced Roadmaps to Code in Jira to Next-Gen Workflows, check out the videos below to help up-level your work in the new ...

4,488 views 5 15
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you