Fetching project-specific issues from Jira using SOAP API

I’m trying to get a list of issues for a specific project in Jira 3.13.x using the SOAP API and PHP. Does anyone know if this is doable? I’m also wondering if there’s a way to search for issue keys using a particular term.

I’ve been digging through the documentation but haven’t found a clear answer. If someone has experience with this, I’d really appreciate some guidance on how to approach it. Maybe there’s a specific SOAP method I should be using?

Also, if searching issue keys is possible, what’s the best way to go about it? Are there any limitations or things I should watch out for?

Thanks in advance for any help or pointers!

While the previous answers covered the basics, I’d like to add that working with Jira 3.13.x via SOAP can be tricky due to its age. You might encounter compatibility issues with modern PHP versions. Consider using a SOAP client library like NuSOAP to handle the intricacies of the SOAP protocol.

For fetching project-specific issues, you could also explore the getIssues() method, passing in an array of issue IDs if you have them. This can be more efficient for smaller, known sets of issues.

Regarding issue key searches, be aware that wildcard searches (e.g., ‘PROJ-*’) can be resource-intensive. It’s often better to use more specific search terms when possible to improve performance.

Lastly, always implement error handling and consider implementing rate limiting to avoid overwhelming the Jira server with requests.

I’ve worked extensively with Jira’s SOAP API in the past, and it’s definitely possible to fetch project-specific issues. The method you’re looking for is getIssuesFromJqlSearch(). A basic approach involves constructing a JQL query to filter issues by project, using getIssuesFromJqlSearch() with that query, and processing the returned issues accordingly.

For searching issue keys, you can include the term directly in your JQL query – for example, ‘project = YourProject AND key ~ “SearchTerm”’ should work. Note that Jira 3.13.x is quite old, so if possible, consider upgrading to benefit from improved API support and security. Also, be mindful of performance issues with large result sets, which might require pagination.

Hope this helps point you in the right direction!

hey jessica, i’ve done this before. you can use the getIssuesFromJqlSearch() method in the SOAP API. construct a JQL query to filter by project, like ‘project=YourProjectKey’. for searching issue keys, add ‘AND key ~ “YourTerm”’ to the query. watch out for performance with big result sets tho