You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
What I need exactly for the response having those records with issuetype with name as "Bug" only., not all records.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.