Forums

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

How can I move Inactive user Issues to Manager after revoke

Jyothi Ravipati September 26, 2022

Can anyone let me know, If a user deactivates, His/Her existing Open issues should be automatically moved to their manager.

 

How can I acheive this through Automation. We will be having revoke tickets everytime a user deactivates from Organization.

Any help would be apreciated.

 

Thank you

1 answer

0 votes
Matthias Gaiser _K15t_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2022

Hi @Jyothi Ravipati

I haven't tried this myself, but I think this could work:

  • You can create a Jira automation rule to be triggered by a webhook. This will give you a url which can be called from somewhere else.
  • You could then create a new webhook in Jira for the user event you're interested in, either delete or update, I assume, and give it the url of your automation rule
  • In the automation rule, you should be able to use the contents of the webhook which I assume contains the accountid of the user to search for all related issues and perform your desired action.

Does this work?

Cheers,
Matthias.

Jyothi Ravipati September 26, 2022

Hi Matt,

 

I had created Webhook, But not knowing how to use Automation Triggers there. Can you help me on it.

Thank you

Matthias Gaiser _K15t_
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
September 26, 2022

You could implement an automation rule like this:

 Screenshot 2022-09-26 at 13.43.57.png

And add as details for the webhook action these parameters:

Screenshot 2022-09-26 at 13.44.34.png

What does it do?

Whenever the webhook is being called, it queries for all issues related to this user and executes the following actions for all the issues in the JQL.

What's still open?

You'd still need to find a way if a user is deactivated or activated. Right now, for both cases the user updated event is thrown. You might be able to use the user deleted event or you'd need to build in other conditions.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events