Hi All,
I would like to know if it is possible to remove a user/reporter to a group (ex. Group 1) when the issue reaches a status via Jira automation. I did my own research and I could not find promising solution, except REST API. Is there a different way, without REST API/script?
Can some one help me with this? Any suggestion also works.
Thank you.
Hi @Harsh
No, I dont think you have any better option available than API or some custom script. Automation at this moment doesn't support user management.
Hope it helps.
Hi @Vishal
Thanks, even I thought so, but just wanted to confirm.
Follow up question, can this be done via script?
I want when the issue reaches status in progress, the reporter should be removed from a group, via script runner?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vishal
I already refered this article, but it removes the user if we explicitly specify them.
But I want to remove the reporter, for that we have to get the reporter, and then remove it from the group right?
Which I'm unable to do so. I'm trying to use gerReporter() in custom script post function but unable to achieve.
Hope you can help now.
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vishal
Found the solution.
For future reference link that helped me to understand the concept is - Solved: Remove Users from a custom Jira group (atlassian.com)
Thank you for the suggestion.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Vishal
Follow up question - can we assign/remove a role(via user and role) to user in project automatically?
In my knowledge no right?
Thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Harsh
You may want to refer to this cloud api document which allows you to do so, however I am not sure if the same is possible in server. Also, even though the api is available in cloud, even that would be bit complex to automate considering getting correct project key, project role id etc.
But give a try & let me know if you manage to do so. Would be a great to learn the solution. :)
Hope it helps!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.