Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Populate Insight custom field from the Reporter value when creating an issue

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

1 answer

1 accepted

0 votes
Answer accepted

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

Melo Community Leader Jun 02, 2021

Hi Yinon,

Does it work when the reporter is creating the issue through a JSM portal?

Cheers,

Melo

Hi Yinon,

How can we do this in the cloud?  I tried but it didn't work.

Field Scope.png

 

Kind regards,

Hi Melik, drop the ".name". IQL should look like this Name = ${reporter}

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. 

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira Service Management

JSM Jira Automation: How to Send SLA Breached Notifications

Hi Everyone, In   this tutorial,  we will show you how you can monitor an SLA, and send notifications before or after the SLA has been breached.   SLA Threshold Trigger The SLA t...

758 views 5 13
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you