The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Assign to Component LeAD, else to Project role

Kate
Contributor
September 19, 2012

Hi!

How can I realize post-function with next condition?

if (component is not empty and component lead is not empty) assignee=component lead

else assignee = project role

I try to use groovy runner, but i'm not a specialist in programming :(

Help, please!

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

Post a new question

0 votes
Jobin Kuruvilla [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 Champions.
September 19, 2012

You cant assign to a role. You can assign only to a user.

Kate
Contributor
September 19, 2012

Assign to a role is not a problem, my problem is this condition in post-function..