Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,294,910
Community Members
 
Community Events
165
Community Groups

Why doesn't the Bamboo audit log (in build and deploy) show the year?

When using the plan configuration to look at build plan audit logs, or using the deploy project audit log, I'm curious why the timestamp displays without the year? Is there a reason for that? We have plans that have been in use for many years and it's hard to go back through the history when trying to troubleshoot errors. 

 

Thanks!

2 answers

1 accepted

0 votes
Answer accepted

Hi @Miranda LeBlanc

That is indeed a good observation, thank you for pointing that out.
I've opened an improvement request to adjust this: https://jira.atlassian.com/browse/BAM-20753.

I'm assuming that you need this information now and you won't be able to wait for this improvement. With that in mind, I suggest you check the Bamboo audit_log table (as a workaround). That table holds the plans, deployment audit logs and more.

This is an example of a query that could be used in Postgres to get the plan related audit logs:

select 
to_timestamp(TRUNC( CAST(msg_time_stamp AS bigint)/1000)) human_timestamp,
*
from
audit_log
where
lower(entity_type) like lower('Plan')
and entity_id like 'PLAN-KEY'
order by msg_time_stamp desc

I hope that helps.

=]

Thank you so much @Daniel Santos

The majority of our users don't have access to the audit_log table, so it will be great when the component can show the year. In the meantime, our system administrators have been helping me out. 

 

Hopefully this is a quick and easy fix :)

Hopefully this is a quick and easy fix :)

You were right. The developers tackled this one very quickly. The suggested change will be available in Bamboo 7.0.0 and 6.10.5. 

Enjoy the holidays!

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo Data Center on Kubernetes

Hi, If you are running self-managed environments and looking to adopt modern infrastructure, Bamboo Data Center can now be deployed in a Kubernetes cluster. By leveraging Kubernetes, you can easily...

940 views 3 8
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you