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

How to copy insight object attribute value to custom field

Hii 

I am trying to copy the value of my object attribute (status) to my custom field with smart value and not with insight postfunction. But in smart value for insight attribute just for key and name?

Who can help me ? Thanks in advance

 

 

3 answers

1 accepted

0 votes
Answer accepted

Finally i find it. U can use iql in jql and use them in automation (post function for in edit issue mode) :)

1 vote
Fabian Lim Community Leader May 31, 2021

{{issue.InsightField}}

Accesses an insight field's full name, key, or summary.

Available properties

  • {{issue.InsightField}} - Returns the issue summary and issue key
  • {{issue.InsightField.key}} - Returns the issue key
  • {{issue.InsightField.summary}} - Returns the issue summary

Thanks for your answer . But i need something like {{issue.Insightfield.status}} to return the value of status (attribute) of object. 

Thanks a lot @Fabian Lim 

Hi @Fabian Lim 

Maybe if i can get the value of status (attribute) with rest api it is okay. But i can not unfortunatly :(

Fabian Lim Community Leader Jun 03, 2021

Hi @Ashkan Malekly

The easiest thing will be to use the built-in post-function where it pickups any attribute from the object and puts in any custom field.  

I'm assuming you are doing some other actions with project automation, but you can first copy the fields with the post-function and then run the project automation rule.  

Hi @Ashkan Malekly 

Could you give us more detail to understand your solution using an example of use?. Thanks 

Suggest an answer

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

Next level incident management in Jira Service Management

Hello Atlassian Community! We’re thrilled to announce some exciting changes to incident management in Jira Service Management Cloud, in order to give your teams extra muscle during incidents, and ...

1,735 views 21 12
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