Details
-
Bug
-
Resolution: Fixed
-
High
-
8.13.0
-
8.13
-
2
-
Severity 2 - Major
-
Description
Issue Summary
Whenever WebHooks are triggered, during the process of building a JSON body to be sent, Jira will fetch data for certain fields directly at the database (e.g. fields from Advanced Roadmaps).
The implementation of this mechanic, returns Iterable of custom fields definitions + function retrieving data for them. It is then called two times separately to create two different data structures. It is not necessary, because data structures are not filtering the output, they are just retrieving custom fields' names.
When a significant amount of WebHooks is set to be triggered on issue operations, this can increase the time Jira will take to finish executing issue actions, causing performance issues for end users.
Steps to Reproduce
- Set up a Jira instance with Advanced Roadmaps
- Populate a Jira issue with Advanced Roadmaps fields (e.g. Target start and Target end)
- Create a few WebHooks set to be triggered on issue_updated events, then set them to be triggered at the affected issue
- Add a comment at the affected issue
Expected Results
Jira will query the database once to build the JSON from the issue to be sent through WebHooks.
Actual Results
Jira will query the database twice for each WebHook that was triggered, increasing the response time from Jira.
Workaround
TBD
Attachments
Issue Links
- mentioned in
-
Page Loading...