Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

how to copy the value of custom field into attribute object

ashkan April 4, 2022

Hello

I have a problem. in one of my transition my customer should give ip addresses . So cause we dont have edit view for object insight, i made a custom field (text area) and when customer fill this field, then i want to copy the value (append) to my attribute object. Could any one help us ?

 

Thanks a lot in advance

2 answers

0 votes
Björn Gullander
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 19, 2022

You can use a placeholder in the Insight post function called "Set the value of an object attribute with a predefined value".

You need an Insight field where you set the object you want to update. (in my example Affected server):

customfield_xxxxx is the field where IP addresses are stored on the issue.

/Björn

postfunction to set attribute.png

0 votes
Benjamin
Community Champion
April 4, 2022

Hi @ashkan ,

 

It maybe possible to create an automation in a post function work flow transition to copy the value. If you have scriptRunner, automation for Jira, or something alike..you may try to do it this way.

 

-Ben

ashkan April 6, 2022

@Benjamin hi 

Thanks a lot. But the postfunction is just for copying the value of attribute to custom field . In automation you cant edit or copy the value of attribute and with scriptrunner i didnt see the appropriat option .

Suggest an answer

Log in or Sign up to answer