Skip to content

feat(jira): Allow extra JQL when querying JIRA board#8972

Open
VaughanJ wants to merge 2 commits into
apache:mainfrom
VaughanJ:feat/ExtraJQL
Open

feat(jira): Allow extra JQL when querying JIRA board#8972
VaughanJ wants to merge 2 commits into
apache:mainfrom
VaughanJ:feat/ExtraJQL

Conversation

@VaughanJ

@VaughanJ VaughanJ commented Jul 2, 2026

Copy link
Copy Markdown
Contributor
  • [ x ] I have read through the Contributing Documentation.
  • [ x ] I have added relevant tests.
  • [ x ] I have added relevant documentation.
  • [ x ] I will add labels to the PR, such as pr-type/bug-fix, pr-type/feature-development, etc.

Summary

When querying the JIRA board for issues, you can apply an optional JQL query to further filter the board, useful when a board has many components on it.

Screenshots

image

Comment thread backend/plugins/jira/impl/impl.go Outdated
// Look up the DevLake project this board belongs to via project_mapping.
// This is best-effort: if the board is not yet mapped (e.g. first run or
// manual trigger outside a blueprint) we leave DevLakeProjectName empty.
if scope != nil {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see why you did it – the projectName is not available for the data source plugin.
However, the solution seems too hacky and ad hoc.
We need a better solution:

  1. adding the projectName to the DataSourcePluginBlueprintV200 interface
  2. adding a new user-definable column to Board and using it instead of the projectName variable.

@VaughanJ VaughanJ Jul 4, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you expand on point 2, how do you see it working? Also is something similar seen elsewhere in the repo?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants