Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Need rest api for getting search results should include issue type='Feature'/'Defect'

Sreekumar April 13, 2018

I have JQL query: 

project in ("PCCC - Project Columbus Cloud Conversion", "Core Procurement") AND issuetype = Feature AND Verifier in (username1,username2)

 

I am trying to convert rest api to get same search results as similar to jql query:

https://product-jira.ariba.com/rest/api/2/search?jql=Verifier=username1,username2&fields=id,key,summary&issuetype=Feature

 

But search results is not getting based on issue type='feature'. 

2 answers

0 votes
Sreekumar April 14, 2018

Thank you alexy.i want also restapi for login jira with username/pwd.

Can you tell me how to use restapi for jira login?

0 votes
Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 13, 2018
Sreekumar April 14, 2018

Thank you Alexey. I'm looking for restapi for jira login using username and password. Can you tell me how can we use restapi?

Alexey Matveev
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 14, 2018

You can pass authentication data either with the rest/2/search REST call. You can find more info here:

https://developer.atlassian.com/server/jira/platform/basic-authentication/

Or you can login before sending the rest/2/search. You can find more info here:

https://developer.atlassian.com/cloud/jira/platform/jira-rest-api-cookie-based-authentication/

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events