Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
Community Members
Community Events
Community Groups

Powershell and API Token usage

Sergio Sardo
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
Mar 29, 2023

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.


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 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

0 answers

Suggest an answer

Log in or Sign up to answer