Forums

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

What is the URL to connect to my JIRA

Prasanna S Vanguri April 22, 2020

How do I connect using Python Script to Jira Cloud ?  Can any one share sample script for connection please.

 

Also is there any configuration required for me to allow a "specific user" to connect to Jira Cloud?  OR do I need to generate API token?

Appreciate your help.

Prasanna 

1 answer

1 vote
Hazwan Ariffin
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 22, 2020

Yes. You would need API token, otherwise it wouldn't work.

An example curl command would be something like this:

curl -X GET -H 'Content-Type: application/json' -u '<atlassian account email address>:<API token>' '<instanceUrl>/rest/api/3/issue/<issuekey>

For more information see JIRA Cloud API doc

This documentation also gives a good explanation on how to connect to your JIRA Cloud using Python. Have a look!

Prasanna S Vanguri April 23, 2020

Thank you very much , I was able to connect using PostMan  -Now, I will explore Python script. 

Hazwan Ariffin
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 23, 2020

Awesome! If that works for you, please accept the answer and mark this as Solved. :)

Suggest an answer

Log in or Sign up to answer