Hi,
I use the clone issue function and want to set the assignee in the cloned ticket to be a specific user.
I dont want to select by name, but by a smart value. Its a little bit complicated and there are lookup tables involved. But in the end, we get a fix expression.
So I used SET and the expression
[~accountId:633309da2e31a5dcfa14948c]
But it doesnt work. The cloned issue is still not assigned.
What is wrong with my syntax?
Hi Lars
Without knowing how your lookup table looks, but here is an example of using a key value and set it as a smart value for the assignee.
I think you should skip the [~accountId: completely and only use the hashed user id
Can you try to add this in smartvalue in aditional fields refer this
{ "fields": { "assignee": { "id": "{{accountId}}" } } }
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lars,
Can you share the actual rule/code?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi here is the lookup table.
And in the clone function I set these smart value to the asignee field.
I tried the same smart value in an e-mail. And there I get the correct value which is defined in the lookup table.
But it seems to be the wrong format for the set function in general.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Try to use only the hashed user id without [~accountId:]
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Yes, was going to recommend the same as Fredrik.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You were both right. Just the ID get's the job done. Thank you guys :-)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Great! Glad you got it working.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.