Forums

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

Set Insight object in customfield with AJS

Ulrich Huber June 28, 2022

Hi Community,

how can I set an Insight object to a customfield in CREATE ISSUE dialog?

I´m able to set normal values with AJS.$(‘#customfield_99999’).val(‘myValue’) but this doesn´t really work with Insight customfield.
With val() I only set the Key and then Key is shown, not the object.

I tried different things but nothing shows the object in the end.

Scripts I tried:

AJS.$("#customfield_99999").val('{ "key" : "KEY-999999" }')

AJS.$("#customfield_99999").val('[{ "key" : "KEY-999999" }]')

Kind regards
Uli Huber

1 answer

0 votes
Ulrich Huber June 30, 2022

Atlassian Support gave me the info that it´s currently not possible

 

Feature request is created: https://jira.atlassian.com/browse/JSDSERVER-11854 

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
4.22.4
TAGS
AUG Leaders

Atlassian Community Events