Forums

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

Automatically assign a sub task when using "create sub-task" post function

Oded Priva
Contributor
June 4, 2014

I'm tring to set an assignee ( using "Additional issue actions" ) when using create sub-task post function script.

Im using :

issue.assignee == "kereng"

But it is not working ..

What is the correct "Additional issue actions" I should use?

2 answers

1 accepted

2 votes
Answer accepted
Tsol
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.
June 4, 2014

Use the following

issue.assigneeId = "username"

Should do the work for you

Oded Priva
Contributor
June 4, 2014

Working ... Thanks ..

0 votes
Florian Rommel
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
November 10, 2014

Hi, 

I'm doing exactly the same thing (issue.assigneeId = "username") but for some users it just doesn't work. It looks like the user is not recognized by it's username.

I did a test. I changed the username of one test-user and also changed it in my post function. The new username is not recognized at all, indicating by a ? in the account image. But I still can assign to the old username.

What can cause this behavior?

Would be great if one has an idea.

Best,

Florian

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events