My jira software (server) instanse has tempo timesheets and i have a workType attritube that tempo handles for worklogs.
I have a listenner that listens worklog_created event.
Listenner needs type attributes of worklog.
I make a rest call to tempo for worklog data via url : $JIRA_BASE_URL/jira/rest/tempo-timesheets/3/worklogs/$worklogID
When i get the response, there's no worklogAttributes object at the JSON.
But, when i curl to the same url , i can see the worklogAttributes at the response JSON.
The reason for this is that my listenner executes before time-sheets plugin's listenner (that writes worklogAttributes to DB) and that's why my listenner cannot access attributes via tempo rest api.
Now, i wanna know if there is anyway for me to make my listenner wait for tempo-timesheets plugin's listenner ?