shridhar-tl / jira-assistant

Repository containing source code of Jira Assistant browser extension. This is also used to track bugs related to the extension.
https://www.jiraassistant.com
249 stars 77 forks source link

Unable to add user without site access to User Groups. #288

Open SSeltonrijch opened 1 year ago

SSeltonrijch commented 1 year ago

Checklist before you being

How do you use Jira Assistant?

Browser extension

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Cloud Jira

Version of Jira Assistant

2.48

What browser are you using?

Chrome

What OS are you using? You need not disclose this if you feel it is irr-relevant for your issue.

Windows

Bug Description

It is not possible to add user to the user group, which do not have site access anymore. image image

While other users with site access do appear in the list: image

This makes it difficult to generate Worklog Report with old users who no longer are active in the company. The only way is to activate them with site access, which I do not want to do, because then they can login again.

Checklist before you submit

shridhar-tl commented 1 year ago

Hi @SSeltonrijch - This is duplicate of #143. There is a workaround mentioned for now to generate report. You can directly provide the username in the box and hit enter and it should work. It seems the API returns only the active users who has access to site and that is the reason you are not seeing it in autocomplete. Not sure if there is a fix for this. However you have workaround as mentioned in the old ticket.

Please let me know if it helps for now.

shridhar-tl commented 1 year ago

Hi @SSeltonrijch - Here is the API I have been using to search for the users and that API does not have an option to return inactive users. It looks like there is no way to search for active and inactive users to gather. So I am moving this issue on hold for now and later if I find some way to solve it, will do the implementation.

https://developer.atlassian.com/cloud/jira/platform/rest/v3/api-group-user-search/#api-rest-api-3-user-search-get