Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

How do I get the user who configured the scheduled build trigger (programatically) ?

Bhathiya Perera February 9, 2015

Hi,

I've found that I can access the user who triggered a manual build. I also need to access the username of the user who created a scheduled build trigger when that trigger executes ? After looking at the API I've found out that the username is not available for ScheduledTriggerReason subclass of AbstractTriggerReason, eventhough it is available for ManualBuildTriggerReason. Is there any way to do this ?

 

Regards,

Bhathiya

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
rsperafico
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
February 11, 2015

Hello Bhathiya,

Thank you for your question.

Unfortunately, you are not able to get this information programatically and there is no Bamboo variable available, I am afraid. Apart from that, the information requested is stored under AUDIT_LOG

SELECT * FROM `AUDIT_LOG` WHERE MSG="repository.change.schedule.cronExpression"

If you find this answer useful, I would kindly ask you to accept it so the same will be visible to others who might be facing the same issue you have inquired.

Thank you for your understanding.

Kind regards,
Rafael P. Sperafico
Atlassian Support

 

TAGS
AUG Leaders

Atlassian Community Events