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: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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()