Posts

Showing posts with the label jira

Python-JIRA unable to add_worklog of previous day

Python-JIRA unable to add_worklog of previous day I have pasted my python code for jira to add the work-log but it is not working.Something is not working with "started" argument of the jira.add_worklog API.Kindly help to resolve. Preferable if you provide the suitable example on this. from jira.client import JIRA import time now = time.strftime("%A ""%c") options ={'server': 'http://192.168.100.39:8081/'} jira= JIRA(options, basic_auth=('chaitanya.mehta','qa123*')) jira.add_worklog("SVC-2531", timeSpent="15m", comment= "DSM for 20 June'18", started="2018-06-20T08:21:01.273+0000") print("Worklog successfully done at %s" %now) By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the websit...

What are the steps to connect Jira, oauth on a node server?

Image
What are the steps to connect Jira, oauth on a node server? I work with Jira (Atlassian) at work and we have our subdomain mycompany.atlassian.net . I would like to interact with the Jira API and for that i found some node packages community driven (like this or this). My login into Jira is via Google so I think I need a Oauth step somewhere. mycompany.atlassian.net What is the logic I have to follow to achieve this? Do I need to create a Google aplication? or where can i get a token for google? How does this comunication/autentication flow works? 1 Answer 1 Once you have logged on to your account, go to your Profile and on the top-right hand side of the page you'll be able to see an option named Tools . Click on the option to view the OAuth Access Tokens : OAuth Access Tokens You'll be able to view your OAuth Access tokens (in a tabular format) for the apps that you are authorized to. The...