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

0 votes
Accepted answer

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 Sign up to answer
Community showcase
Published Nov 27, 2018 in Portfolio for Jira

Introducing a new planning experience in Portfolio for Jira (Server/DC)

In the past, Portfolio for Jira required a high degree of detail–foresight that was unrealistic for many businesses to   have–in   order to produce a reliable long-term roadmap. We're tur...

2,711 views 17 21
Read article

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