You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
Next: Root
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
The Atlassian Community can help you and your team get more value out of Atlassian products and practices.
HI to all.
I'm developing a PowerShell script to download JiraIsses.
If I use the basic credential approach ($JCred = get-credential 'user' ....) and then a command like:
Get-JiraIssue -Query "<jql query>" -Fields "*all" -Credential $JCred
everything goes fine.
BUT
I've got a token (label + coded string) and I need to use it instead than the esplicit user/psw pair.
In the web manual https://atlassianps.org/docs/JiraPS/about/authentication.html there is a note "The difference is, that instead of providing the username and password for the account, the email address and the API token must be used"
but there's no any sample on how/where I have to use the provided token....
So my question is:
How/Where I can use an API Token to start a new session or send a Get-JiraIssue command?
Thanks in advance.
Sergio, Italy