AtlassianPS / JiraPS

PowerShell module to interact with Atlassian JIRA
https://AtlassianPS.org/module/JiraPS
MIT License
322 stars 131 forks source link

Expand Get-JiraUser by previousLoginTime value #381

Open bkaczynski opened 4 years ago

bkaczynski commented 4 years ago

Context

Get-JiraUser is great, but I need more data for further processing

Description

Add additional header to output of Get-JiraUser

Additional Information

I found method in API documentation where session information is stored

lipkau commented 4 years ago

note: the API linked in this issue will only return additional data for non-cloud servers

image

bkaczynski commented 4 years ago

on-prem version is fine for me. Is it possible to get this information about all users in database, not only current session?

johnheusinger commented 4 years ago

Doesn't seem possible to me. I'm only able to retrieve this info for the user whose credentials I'm supplying, not for users in general

lipkau commented 4 years ago

that is correct. Jira does not have any API for retrieving that kind of information of other users; only from the logged in user.