Forums

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

Set value in version picker

Dan27
Contributor
July 25, 2018

Hi,

What is the code for setting a string value (text field) into "Fix version/s" (Version Picker)?

this String exists in the versions list.

 

thanks

1 answer

1 accepted

Suggest an answer

Log in or Sign up to answer
0 votes
Answer accepted
Kristian Walker _Adaptavist_
Community Champion
January 28, 2020

Hi Adam,

I believe that the error is coming from the fact that the syntax in your rest call is invalid.

I can confirm that we have an example of how to call the notify API with ScriptRunner for Jira Cloud inside of the documentation page located here and I would advise you refactor your script to use the syntax shown in this example. 

I have tested the syntax shown in the documentation page above and can confirm this works and sends a notification as expected.

I hope this information helps.

Regards,

Kristian

Adam Hraban
January 28, 2020

Hi Kristian,
you're right, there should have been double square brackets around 'groups' in my code ... 

Thank you

BR / Adam

Kristian Walker _Adaptavist_
Community Champion
January 29, 2020

Hi Adam,

Thank you for confirming that our response has helped you to resolve your issue.

Regards,

Kristian

Like Adam Hraban likes this
TAGS
AUG Leaders

Atlassian Community Events