The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

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

Update Custom Field value from Script Runner Dialog

Nicole Mueller
June 16, 2021

I'm new to Script Runner. Now I have created a HTML dialog box with Fragments (to open it) and REST Endpoints script. I show several custom field values from the ticket in the dialog box and also check boxes and drop downs customized for the dialog box and further usage. Now there are two use-cases of this dialog box. One is to send data to a 3rd party, and another is to update a custom field (textfield). The user should be able to add (if the custom field was not filled with a value in the ticket) or update the custom field. To save the value I have created a HTML Save-Button and a click event with javascript. The click event is working. But how can I add (or update) the value to the custom field in the ticket? I don't see a way doing this within the JS click event. Is this even possible? Or is my approach wrong? Thank you so much for advises on how to solve this problem.

Cheers Nicole

1 answer

1 accepted

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Answer accepted
Nicole Mueller
June 16, 2021

I have posted this in the wrong category. Can someone please close this entry? I've created a new question: https://community.atlassian.com/t5/Marketplace-Apps-Integrations/Update-Custom-Field-value-from-Script-Runner-Dialog/qaq-p/1726696#M87364 

TAGS
AUG Leaders

Atlassian Community Events