Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Unsuccessful JQL query for issueFunction in addedAfterSprintStart

Trying to pull a query for stories added to sprint after it started using project = <Project Name> AND issueFunction in addedAfterSprintStart("<Sprint Board Name>") but I get this response:

Field 'issueFunction' does not exist or you do not have permission to view it.

Apparently this query is not available in cloud JIRA (2018 feedback), has anything changed since? Are there any other options available that don't involve manually tagging stories with labels?

1 answer

0 votes

You are right, issueFunction is a Scriptrunner for Server only, we can't (yet) implement it in Cloud.

Some of things it was used for on Server can be achieved, there's a list of popular translations over at https://docs.adaptavist.com/sr4jc/latest/scriptrunner-jql-keywords-functions/jql-keyword-examples

But I don't think there's a way to do "added after sprint start" in any search, even with scriptrunner functions.

Ok, sorry about this, but @Kristian Walker _Adaptavist_ has told me stuff about Scriptrunner Enhanced Search that I did not know before.  There is an "added after sprint start" in there.

I quote: You can now do addedAfterSprintStart in SR cloud enhanced search queries and the docs for this are here

Thank you @Nic Brough _Adaptavist_ then why do I get this response on my query:

Field 'issueFunction' does not exist or you do not have permission to view it.

I have admin permissions on this project. 

Because, as I said earlier, it does not exist in Cloud. 

Hi Melanie,

I can confirm that in Jira Cloud that you can only run enhanced search functions on the ScriptRunner Enhanced Search Page and I can confirm we have a KB article located here which explains about this more.

Also I can confirm when using these features in Cloud you will need to make sure that the JQL keywords have been fully synchronized as described here in order for the functions to run and return the correct results.

I hope this helps.

Regards,

Kristian

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Jira

⏰ Day in the life of a Jira Admin!

Hello Community! We thoroughly enjoyed this just-for-fun conversation in the Jira Admin Group about what it's like to be a Jira Admin. For #JiraJuly, our talented designers created these graphics t...

656 views 2 18
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you