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
Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
August 27, 2021

This is because JQL in Jira Cloud does not allow us to add things like issueFunction into it.  So standard JQL can't use it.

As you've already found, Scriptrunner's enhanced search does do that.

But, I suspect your "api call" is to Jira's search function, not Scriptrunner's enhanced search. so it's failing because issueFunction is not there.

I'm afraid I do not know if SR for Cloud has a REST API you could call for the enhanced search, but I will ask!

Esther Evangeline. V
September 3, 2021

Did we get an answer for REST API you could call for the enhanced search

Nic Brough -Adaptavist-
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Champions.
September 3, 2021

Eep!  Sorry.  I asked Kristian but got distracted and forgot to post back here!

There are no rest APIs for enhanced search.

But, you can make a rest call  to a standard Jira filter which is created when they save an enhanced search filter as this will have the issues returned by the enhanced search filter in it.

Ainee
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
December 1, 2021

It's been months but how do we do this  "But, you can make a rest call  to a standard Jira filter which is created when they save an enhanced search filter as this will have the issues returned by the enhanced search filter in it."

TAGS
AUG Leaders

Atlassian Community Events