Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chuikoaleksandr/c417cb4ca455eb004a1d26c7446cf3d4 to your computer and use it in GitHub Desktop.
Save chuikoaleksandr/c417cb4ca455eb004a1d26c7446cf3d4 to your computer and use it in GitHub Desktop.
Atlasteam, Jira, plugin JsIncluder. Set select value. For https://atlasteam.ru/?p=1925
//select
AJS.$('#customfield_10001').val(10002)
//multiselect
AJS.$('#customfield_10000').val([10000, 10001])
//cascade select
AJS.$('#customfield_10002').val(10004).change()
AJS.$('#customfield_10002\\:1').val('10005')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment