Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need last modified time of a project area in Jira

Subhajit Bhuiya September 17, 2018

I need to find out last modified time of a project area in jira, not the last modified time of a issue in that project area. Modification can be project name modified etc etc

1 answer

0 votes
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2018

The administrator audit log will capture some project changes.   Log in as an admin, go to the admin section and use the search to find "audit"

Subhajit Bhuiya September 17, 2018

@Nic Brough -Adaptavist-

My code is like this

 

AuditingManager auditMgr = ComponentAccessor.getComponent(AuditingManager.class);
AuditingFilter filter = AuditingFilter.builder().fromTimestamp(from.getMillis()).build();
Records records = auditMgr.getRecords(null, null, limit, null, filter);

 

This hangs if I create a new project area

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 17, 2018

It looks to me like getRecords does not have those parameters, so it's failing.

Subhajit Bhuiya September 17, 2018

@Nic Brough -Adaptavist- Can you please give me an code example to filter out project modification audit event based on time.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events