Creating custom field based Reporter

Francisco Gomez Balastegui December 26, 2019

Hi, i'm developing a plugin. So I created a string field which by VM on edited i push a select class, and offer some options accessing to the AO by rest with jquery, I need to access to the reporter with the AJS and get the id of the reporter with the AJS is this possible?

1 answer

1 accepted

0 votes
Answer accepted
Francisco Gomez Balastegui January 2, 2020

Hi,  we solved send the reporter by the velocity to the function with the next form 

        getMyOptions("$!{issue.reporter.name}""$!{issue}")

Also on the JS we can get the value on the form with this line:

 

    reporter = $("#reporter").val()

Suggest an answer

Log in or Sign up to answer