Hi Team
I have Issue picker field in Service Desk portal and when customer creating a ticket from portal they are selecting existing ticket from Issue picker field, then I need to assign this tickets to same from Issue picker.
Ex: I have a issue key A-100 and the same assign to (user1), when I am creating new ticket I selected A-100 from JIRA issue picker, so I need to assign A-101 ticket to (user1) automatically.
Hi @Nagaraju and welcome to the community!
I'm not familiar with an "issue picker". Assuming this is simply a select list (single choice) and only captures the key, you should be able to do something like this:
Hi @Mark Segall , Thanks for your inputs, but it's not working.
the JQL running to get the list of issues in where issues having that Issue picker and assigning to first ticket of list, but I want to assign ticket to which issue picket I selected in current ticket.
-Musku
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Would you mind sharing a screenshot of your automation rule and audit log? I think that would help us better understand where things are getting tripped up.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Mark Segall , Thanks for the quick reply,
1. When I used "key = {{issue.customfield_38718.value}}" I am getting like "Error while executing JQL"
2. I used {{issue.[Custom Field].38718}}, this case assigning to wrong person.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks. Can you also please share a screenshot of the issue picker field?
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.
Thank you - Now I understand. This is a script runner field. I'm not as familiar with script runner, but it appears this is captured as a string so perhaps your JQL should look like this:
key = "{{issue.customfield_38718}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for your reply @Mark Segall , Yes I tried the same but still facing same error.
I tried all below
1. key = {{issue.customfield_38718}}
2. key = {{issue.customfield_38718.value}}
2. key = {{issue.[customfield_38718].value}}
2. key = {{issue.[custom field].38718}}
All the scripts are failed
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Have you tried quotes around the smart value?
key = "{{issue.customfield_38718}}"
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If that doesn't work, can you do a quick JQL search, add the issue picker column, and export to csv? My intent is to see exactly how that field is storing the data. For example, script runner may be storing the key plus some other data that needs to be parsed to extract the key.
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.
This one is definitely an odd one. I don't see why it wouldn't be able to return something against that field. Maybe go back to the first recommended solution with the following syntax (note the position of the quotes):
key = "{{issue.customfield_38718.value}}"
Otherwise, I'm completely stumped.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apologies, but I'm tapped out on this one. Hopefully someone else in the community can solve this conundrum.
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.