Good afternoon, could someone help me? How do I validate the user in Jira ? I'm using Python, below is my code. When the user is not registered in Jira he send me an error
class Atlassian: JIRA_FIT = 'https://atlassian.net' jira_api_issue = '/rest/api/2/issue/'
def __init__(self, usuario, token): try: self.jira = Jira( url=self.JIRA_, username= usuario, password= token ) except: print("An exception occurred")
Hello @Watson Vieira da Rocha ,
Welcome to the Atlassian Community!
I am not sure I understand what you mean with "validate the user in Jira". Can you kindly provide more details on what you are trying to achieve?
If you are trying to do anything else, please let me know.
I don't have enough context to be able to help you and I am not even sure what you are trying to achieve can actually be done since REST API calls are not authorized using the same credentials the users enter when they log-into Jira Cloud.
The different ways to authorize REST API calls are listed below:
However, if you are looking for advise on how to develop your app then I might not be the best person to help. I'd advise to try the resources listed in https://developer.atlassian.com/resources instead.
I hope this helps.
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