Rest Api's for user authentication and ticket generation on JIRA

Ankush Sharma October 30, 2019

I want to consume rest api's provided by JIRA to authenticate user by email and password. and then creating issues via rest api calls.

i want example code snippets or any examples showing calling JIRA rest api's via postman.

1 answer

0 votes
Deleted user October 30, 2019

Hi @Ankush Sharma

 

Welcome to the community!.

Please see the below screenshots which shows how to use JIRA REST API in postman to authenticate and create issues in jira.

Authentication:

postman_authentication.png

Header configuration:

postman_header.png

 

Body in JSONpostman_body.png

 

Please see the page which shows more about JIRA REST API's

 

Also another method is to use Jira Command Line Interface (CLI) which provides Rich CLI client, Enhanced actions to create projects, issues in JIRA. Please see the Examples page which shows the different actions which can be performed using JIRA CLI

 

Regards,

Vijay Ramamurthy

Ankush Sharma November 11, 2019

You haven't mentioned about the user Authentication Api. Please share a postman screenshot of the same like you did above

Deleted user November 11, 2019

Hi @Ankush Sharma

 

You will be able to use the basic authentication and pass your credentials in the header of the REST call which you are making from Postman, please see the below screenshot for reference.

postman_authentication.png

Regards,

Vijay Ramamurthy

Deleted user November 12, 2019

Hi @Ankush Sharma

if the above answer helped you please accept the answer so that other community users can benefit from it.

 

Regards,

Vijay Ramamurthy

Suggest an answer

Log in or Sign up to answer