It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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

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

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

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

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

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
Community showcase
Posted in Jira

Demo Den Ep. 7: New Jira Cloud Reports

Learn how to use two new reports for next-gen projects in Jira Cloud:  Cumulative flow diagram and Sprint burndown chart. Ivan Teong, Product Manager, Jira Software, demos the Cumulative ...

274 views 1 2
Join discussion

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you