Forums

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

Change an assignee after the create issue event has fired

Deleted user March 27, 2012

We are currenly on JIRA 4.4.3.

Currently we have issues that are created and based on the componet an e-mail goes the compoent owner, which we want. However, during the transition from Create to Open we want to change the owner to someone else.

I tried to set the assignee in the Create transition but either it does not take if it too late in the work flow or the original assignee does not get the e-mail.

Is this possible?

3 answers

1 accepted

0 votes
Answer accepted
Susan Hauth _Jira Queen_
Community Champion
March 28, 2012

Hi,

I do that quite frequently in my JIRA projects. I set the Issue Created notification to notify the component lead so they know the issue has been created, but I set the assignee in the workflow to something else, often unassigned. Just do it after the "Issue Created" step in the post workflow of the Create.

CHeers...Susan

0 votes
Nic Brough -Adaptavist-
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.
March 27, 2012

Yes, it's the timing. Your create transition happens before the event is fired, so the email goes out incorrectly.

Two thoughts (the second of which is based on your comment)

1. Write a listener that listens for the create event and amends the owner as required. The email will go out as normal, then the listener will change the owner afterwards.

2. Find/write a listener that will perform a second transtion for you. The reason I mention this is that there is a listener in the "Jira toolkit" called the "auto transition listener" that I think will do exactly that for you!

0 votes
Deleted user March 27, 2012

One option I thought of was if I could go from Create to Open and automaticcly transition to Open2. That way in the second transistion I could reassign the case and have the event trigger. Is this possible?

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events