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
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
Hi,
I am trying to fetch issues with limited fields using JIRA REST as:--
/rest/api/2/search?jql=project=D04047 and status not in (resolved,closed) &fields='[summary,assignee,fixVersions,issuetype,status,customfields_10112]'
but in response I am not getting the field summary and customFields.
Can you please assist in this how can I get all the mentioned fields?
And my next query if I am having project key like (D04047,D4047ABC,D04047BEN) then I need to use rest/api/2/project/D04047. (dot)to get all of three mentioned project. Please correct if my understanding is wrong.
Thanks in Advance!
As for your other query, pretty sure project/ only accepts 1 project in the url.
You could try instead something like
rest/api/2/issue/createmeta?projectKeys=D04047,D4047ABC,D04047BEN
HTH
Gav...
Thanks Gravin for your reply!
if I use this
/rest/api/2/search?jql=project=D04047 and status not in (resolved,closed) &fields=summary,assignee,fixVersions,issuetype,status,customfields_10112,customfields_10441
still I am not able to get custom fields in the response.
and for second query only D04047 is fixed, appending text can vary from client to client.
Is there any way to get all the 3 projects, using D04047 only.
Ok I guess I'm not certain without seeing more of your setup.
The query works for me - here it is on our public jira :-
Works fine as far as I can tell.
Thanks Gravin for your reply!
can you please also help me in this..
I have project keys as D04047,D4047ABC,D04047BEN
in which D04047 is fixed, appending text can vary from client to client.
Is there any way to get all the 3 projects, using D04047 only.
Like in case of summary we can use ~ which works as like\contains operator.
Thanks!!!
Hi,
I have one more query.. actually my Jira issue summary is as follows - 'Work to jira'
in my JQL when I tried below searches
summary ~ 'work' -- working
summary ~ 'jira' -- working
summary ~ 'to' -- not working
I tried \to, to*etc.. but nothing seems to be working
could you please help me with how can I search using word 'to'.
Thanks!!!