Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Jira Service Management CLOUD - Automatically add people in AD groups

Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2021

Hi,

Is there any way in the cloud to automatically add people to AD groups?

I found a plugin but is only available for DataCenter/Server.

Thanks

1 answer

0 votes
Paul Krueger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 26, 2021

What exactly are you trying to accomplish? Are you adding AD groups to Jira (as customers) or are you trying to modify AD groups based on actions with Jira?

Albert Manuel
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 28, 2021

@Paul Kruegersecond option, trying to add or remove people in AD based on actions in Jira.

Paul Krueger
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
October 28, 2021

There are only two ways I can think to do this. 

  1. Run a scheduled task from a machine on your network that queries the Jira API looking for relevant issues (PowerShell would be ideal for this).
    You'd need to be able to identify issues using a JQL query and you'd need to be able to identify the AD user and the Group you want to modify when pulling the issue data. You could run it daily, hourly, whatever, just make sure you're filtering issues by modified date. Take a look at https://atlassianps.org/docs/JiraPS/. I've had great success using this for other tasks.
  2. Alternatively, I think you could use Microsoft Power Automate. You'd need an outgoing Jira webhook to hit Microsoft Power Automate. Then you could parse the incoming JSON and trigger an on-premises Power Automate Desktop flow to modify the group membership. Again, the user and the group would need to be included in the JSON.
    Take a look at https://docs.microsoft.com/en-us/power-automate/desktop-flows/link-pad-flow-portal. I've used Power Automate to integrate Jira with Webex (auto-create rooms, add participants, etc. when a Major Event issue is created), but I've never used it to push back into our network or hit AD. If you're using Azure AD (which we're not) it may be easier. 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events