Skip to content

fix: Update Jira issue search to use the correct JQL endpoint#192

Open
r-pedraza wants to merge 1 commit intomasterfrom
feat/update-jira-endpoints
Open

fix: Update Jira issue search to use the correct JQL endpoint#192
r-pedraza wants to merge 1 commit intomasterfrom
feat/update-jira-endpoints

Conversation

@r-pedraza
Copy link
Copy Markdown
Contributor

Pull Request

📝 Summary

This PR corrects the Jira issue search functionality, which was previously using an incorrect API endpoint. The change updates the service to call the specific /search/jql endpoint via a POST request, ensuring that JQL queries are properly executed against the Jira API.

🔧 Changes Made

  • Updated IssueService to target the /search/jql endpoint for issue searches.
  • Modified the corresponding tests in test_issue_service.py and test_jira_network.py to align with the new endpoint and request method.
  • Changed the request from a GET to a POST with a JSON payload, as required by the /search/jql endpoint.

🧪 Testing

  • Unit tests added/updated (poetry run pytest)
  • All tests passing (make test)
  • Manual testing with titan-dev

Unit tests were updated to verify that make_request is now called with POST and the correct /search/jql endpoint. The tests also assert that the JQL payload is sent in the JSON body of the request.

📊 Logs

  • No new log events

✅ Checklist

  • Self-review done
  • Follows the project's logging rules (no secrets, no content in logs)
  • New and existing tests pass
  • Documentation updated if needed

@r-pedraza r-pedraza self-assigned this Mar 31, 2026
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.

1 participant