Worklog status

Hi ,

I am using and integrated the atlassian with sugarcrm. I am showing worklog report on my sugarcrm. Each time the old worklog are coming in my sugarcrm application. So I want only those worklog should come whose status is active.

Please let me know how can I manage the status of worklog on JIRA

3 answers

0 vote

What do you mean by active status?

Hi,

Thanks for your quick reply. Actually we are integrated atlassian with our sugarcrm application.

for fetching worklog from atlassian we are using the below url

https://osscube.atlassian.net/rest/api/2/issue/10826/worklog

the above url give us the worklog of the respected issue id(10826) and we save it on our sugarcrm application for custom report.

Here we want that those worklog of the respected issue id that already in our application should not come until there is no change in that worklog

for this we want to maintain a status for worklog on atlasssian

if the work log is fetched on sugarcrm application then for that worklog statuse will be inactive and for the new worklog or updated worklog will be active

every time we want to fetch new/updated worklog from atlassian on the basis of issue id

0 vote

Unfortunately, JIRA doesn't have a status for the worklogs. When you use the REST API, it will fetch you all worklogs on the issue. You will have to do some post processing to find out the one recently added/changed.

I guess you should be abel to do that by created/updated date even though it is not super efficient!

Suggest an answer

Log in or Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Julia Dillon
Posted Apr 17, 2018 in Jira

Tell us how your team runs on Jira!

Hey Atlassian Community! Today we are launching a bunch of customer stories about the amazing work teams, like Dropbox and Twilio, are doing with Jira. You can check out the stories here. The thi...

764 views 2 19
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