HI Team, I need help with finding bugs by project id and by using issuetype which is having name as "Bug".
My response looks like this :
"expand": "operations,versionedRepresentations,editmeta,changelog,renderedFields",
"id": "*****",
"self": "*****",
"key": "****",
"fields": {
"issuetype": {
"self": "url",
"id": "*****",
"description": "Created by Jira Software - do not edit or delete. Issue type for a user story.",
"iconUrl": "https://jira.ascension.org/secure/viewavatar?size=xsmall&avatarId=****&avatarType=issuetype",
"name": "Bug",
"subtask": false,
"avatarId": 10315
}}, how to get response only for Bug as name in issuetype.
Hello @Lakshmij
You showed us the response but what you need help with is the code you wrote. Please show us the code you wrote.
https://jira.ascension.org/rest/api/2/search?jql=project=projectId & issuetype.name=Bug
I'm trying with above url to search by project id and issuetype with name as "Bug", but name is lying inside issuetype which inturn reside in fields.
Need to find a way to search by using project id and issuetype with name as "Bug" in url query params or if any other way, please suggest .
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you trying to execute this API call within a program? Can you show us the full line of code?
Is "projectId" a variable that you are trying to use?
You should be able to use the same parameter string that you would see in the browser URL field if you did a search through the UI.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.