Java code lifetime examples

Hi,

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

This widget could not be displayed.

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: http://docs.atlassian.com/rpc-jira-plugin/4.4/com/atlassian/jira/rpc/soap/JiraSoapService.html

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: https://developer.atlassian.com/display/JIRADEV/JIRA+REST+API+Example+-+Create+Issue

There are also many other examples of using the APIs on our Developer Site: https://developer.atlassian.com

All the best,
John

This widget could not be displayed.

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
Posted Tuesday in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

172 views 1 3
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