Login and Google Accounts

joao.aguiar May 2, 2021

CONTEXT:
I am developing a Java code to access and loging the Jira Service Management from my company. We are registered with corporate Gmail, but my e-mail and password do not login itself, I must choose the "Continue with Google" option.

DOUBT:
Why this happens and how do I insert this "loginc" into my code?

1 answer

0 votes
Daniel Eads
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 3, 2021

Hi @joao.aguiar , welcome to the Community!

Fortunately it's common to interact with Jira Service Management Cloud via calls in code, and we have a well-documented method for doing it!

You'll need to generate an API token on your Atlassian account. Details about how to use these with Atlassian Cloud are listed here. In short, you generate a new token from id.atlassian.com and use that in place of a password. The advantage to this is that you can have multiple tokens on your account (one per application) and they can be easily revoked!

When making the call to Jira Service Management's API, you'll use these credentials:

username: <your corporate gmail address>
password: <the API token you generated>

I hope that clarifies things!

Cheers,
Daniel | Atlassian Support

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
STANDARD
TAGS
AUG Leaders

Atlassian Community Events