Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

AUTOMATION: Creating a new issue where the assignee gets a value from a field in the triggerissue

Dd June 7, 2024

Al,

I'm trying to set up a manual trigger to open a ticket from another ticket.

The triggerissue has a field called "My Engineer" of type SELECT SINGLE USER.

I want that the new issue that will be generated, will be assigned to My Engineer.

I failed to get it working in the MORE OPTIONS section using smart values nor trying to use the CHOOSE FIELD TO SET option and make assignee get the value from My Engineer 

Thanks

Dd

2 answers

1 accepted

1 vote
Answer accepted
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 7, 2024

Hi @Dd 

Maybe try to click on the 3 dots next to the field and select Copy. This will show a popup with Current Issue in it. Click on those words and change Current Issue to Trigger Issue and change the field to the My Engineer field. 

Dd June 7, 2024

Thanks works!

Thanks

Like John Funk likes this
John Funk
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
June 8, 2024

Great!

0 votes
Duc Thang TRAN
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 7, 2024

Hello @Dd 

In absent of error log details, i can suggest you :

 Assure the user in your field "My Engineer" has permission to your project for assign ticket.

If yet, can you try with this smart value?


{{issue.My Engineer.emailAddress}}

2024-06-07 12_15_00-Window.png

Dd June 7, 2024

Thanks 

My issue is using the automation part.

I got no errors - it didn't fail - it just didn't set the assignee field with the My Engineer.

What I'm trying to do is something like:

{
"fields": {
         "assignee": "{{triggerissue.my engineer}}"
       }

Duc Thang TRAN
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 7, 2024

@Dd 

I'm not an expert in using the format json, but you can try this code :

{
"fields": {
"assignee":{
"name": "{{triggerissue.my engineer}}"
}
}
}

Other way you can add a smartvalue directly on Assignee field as my screencapture 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
FREE
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events