Java code lifetime examples


for our automation-developers I need to ask the following question:

Jira-soap-4.3.2 / SOAP:
Are there any Java source code exmaples showing the life-cycle (create, update, close, ...) of an issue?

Thanks in advance.

2 answers

1 accepted

Hi Daniel,

I would actually recommend that you the REST API as this is now the preferred platform for Atlassian and the SOAP API will not be bieng developed further, but you can check out the SOAP API documentation here:

As stated in our documentation, "Atlassian will continue to support the SOAP API until the REST API provides a replacement for all the existing SOAP functionality." , which means that SOAP will be being deprecated at some point and therefore if possible I would recommend using the REST API instead. You can check out an example of creating an issue with the REST API here:

There are also many other examples of using the APIs on our Developer Site:

All the best,

0 votes

Um, the question doesn't make a lot of sense.

There is no "life cycle" of an issue in Java. Jira has a workflow engine in it that allows the end user to implement whatever process they need (obviously, there are limitations, gotchas etc). There's a default workflow and an editor in Jira.

There is java code for handling the workflow. But it's totally abstracted from the issues, hence there is no "code for the life-cycle" because the life-cycle is a user defined set of variants.

Could you clarify what you are looking for here? A diagram of the default workflow? Code for pushing things through a workflow via SOAP?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

2,876 views 12 18
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot