Forums

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

Do mail handlers transition issues automatically??

Page Partain
January 12, 2023

We have several projects with incoming mail handlers.  All the mail handlers are

Create a new issue or add a comment to an existing issue

For a couple of these, whenver a comment is added after an issue is marked Done (and Resolution = Done), the status is changed to To Do.  We do not use any workflow automation.  

Is this configured in the mail handler?  I can't find it or see differences between the ones with the status change, an the ones with the same mail handlers that do not make a status change.

 

Thank you!

2 answers

0 votes
Bob Swift
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 Champions.
May 14, 2012

It is easy to script your process using addUser and addUserToGroup using the JIRA Command Line Interface. Create a file with of all the add actions you need. Then use the run action with findReplace parameter to replace the specific user id with a script reference like @newUser@.

Rumceisz
Contributor
May 14, 2012

Hi, is there a script also for this feature?

Bob Swift
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 Champions.
May 14, 2012

No, you create a custom script suitable for the groups you need to deal with. Something like:

--action addUser --userId @userId@ --userFullName "@userName@" --userEmail @userEmail@
--action addUserToGroup --userId @userId@ --group Employee 
--action addUserToGroup --userId @userId@ --group @division@
...

Then you would run it when a new user was needed using something like:

--action run --file myscript.txt --findReplace "@division@:DivisionA,@userId@:newUser,@userName@:New UserName,@userEmail@:newUser@domain.com"

Rumceisz
Contributor
May 15, 2012

Hi Bob,

can this script run for instance in every 5 minutes?

I mean I would like to achieve that in the case of new user creation, I would have to add the user to only 1 specific group (division group) and then the user will be automatically add to the Employees group, Internal group and confluence group (these 3 are our standard groups to which all employees has to be added.)

Using CLI is same effort as picking these 3 groups when creating a user, or not?

Thanks!

Rumi

0 votes
JamieA
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 Champions.
May 14, 2012

Some sort of service to run every few mins to synchronise the groups I guess. There is no "user added to group" event afaik that you could listen for.

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events