1

I am using JIRA rest api for jql search. It says we can filter out fields using fields parameter. Is there a way we can filter out properties from a particular field. eg. field assignee has many properties. But I am interested only in property displayName. Is there a way we can filter out all other properties?

2 Answers 2

2

Is there a way we can filter out all other properties?

There is no way to hide other properties of assignee.

Sign up to request clarification or add additional context in comments.

Comments

0

JQL will search all properties inside the assignee field to check if something is matching. So it should work out-of-the-box, for example assignee = "John Smith", in this case John Smith is the display name.

4 Comments

But the search is not based on assignee. I need to get all assignee names which come up for a jql search.
So you're not searching issues, you want to search for users ?
Actually, i am fetching issues and displaying it in front end. But JIRA api provides way too much information on an each issue. eg. avatar url of the assignees. I need to filter out such information. I need very basic information on each issue eg. description, assignee name etc..
Sorry for not answering your question. I guess the only thing you can do now is filtering this data on the client side.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.