jbsmith7741 opened a new pull request, #8931:
URL: https://github.com/apache/devlake/pull/8931

   ### Summary
   
   Jira boards configured with kanban sub-filters silently exclude issues when 
collected via the standard board-issue endpoint. This PR switches issue 
collection to use the Jira Search API (JQL) derived from the board's filter 
configuration, ensuring all matching issues are ingested regardless of 
sub-filter settings.
   
   Additionally fixes:
   - `SubQuery` struct shape to correctly unmarshal the nested API response
   - Config-UI connection list passing the React `MouseEvent` into `onCreate` 
(which expects no arguments), causing the synthetic event object to be stored 
as plugin state. Fixed by wrapping the handler in an arrow function so 
`onCreate()` is called cleanly with no arguments.
   - Config-UI connection form crashing when a plugin config omits 
`initialValues` — downstream code spreads/iterates this value, so destructuring 
without a default produced `undefined` and threw at runtime. Fixed by 
defaulting to `{}` during destructuring.
   
   ### Does this close any open issues?
   
   Closes #8917
   
   ### Screenshots
   
   N/A — backend data-pipeline change with no UI impact beyond the crash fixes.
   
   ### Other Information
   
   - New migration script `20260611_add_sub_query_to_boards.go` adds the 
`sub_query` column to `_tool_jira_boards`.
   - Unit tests added for `BoardConfiguration` unmarshalling and the search-API 
issue collector.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to