Worklogs and time tracking via SOAP
Time tracking in JIRA is a great feature that allows the users to track the time they spent on a particular issue. It lets the users to log the work as and when they spend time on an issue and JIRA will keep track of the original estimated time, actual time spent, and the remaining time. It also lets the users to adjust the remaining time to be spent on the issue, if needed!
While JIRA has a great user interface to let users log the work they are doing there at times, like when integrating with the third-party products, it is necessary to log the work using SOAP. In this recipe, we will see logging work using the SOAP API.
Getting ready...
As shown in the previous recipes, create a JIRA SOAP client. Also, make sure that time tracking is enabled on the JIRA instance.
How to do it...
There are different methods available to log work on an issue depending on what we need to with the remaining estimate on the issue. In all the cases, we need to create a RemoteWorklog...