Desired Outcome:
I have an Insight Object Type called "People" and I have created objects with names matching Jira user name.
I've created an Insight custom field called "Client" with the JQL to look in the People object type.
I want to dynamically assign the name value of the Client custom field with the value of the Reporter field when an issue is created.
What I've tried without success:
I've tried various other plugins such as Jira Automation but it doesnt let me use smart values for Jira insight custom fields. I did try their advanced option with this...
{
"fields": {
"Client": [
{"Name": "{{issue.reporter.displayName}}"}
]
}
}
without success.
- I tried another plugin called JSU which has a "Copy Value From Other Field" and set it to copy Reporter field to Client but it throws an error, even when I move the post function order around.
- I tried various Post functions.
Feels like it should be doable and I'm missing something easy. Any help is greatly appreciated. Cheers
Hi Danny.
Try the following in the Insight Customfield configuration -
Filter Issue Scope (IQL): objectType=People
Filter Assign Scope (IQL): Name = ${reporter.name}
This will populate the Insight CF "Client" with a "People" objects where the Name is the Reporter's Full Name (displayed name)
Kind regards,
Yinon
Mindville Support Team
Hi Yinon,
Does it work when the reporter is creating the issue through a JSM portal?
Cheers,
Melo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Yinon,
How can we do this in the cloud? I tried but it didn't work.
Kind regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Melik, drop the ".name". IQL should look like this Name = ${reporter}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello, would it be possible to use a custom field instead of the ${reporter}? let's say I have a custom field created: "testfield" and I want to use that Name = ${testfield}. I've tried but it's not 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.
Thank you so much @Adam Gołaszewski !
I tried all different kind of suggestions I could find, but nothing worked.
However, removing the .name did the trick!
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.