Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,297,309
Community Members
 
Community Events
165
Community Groups

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

Like Nic Brough _Adaptavist_ likes this

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Posted in Jira Service Management

Jira Service Management Documentation Opportunities

Hello everyone, Hope everyone is safe! A few months ago we posted an article sharing all the new articles and documentation that we, the AMER Jira Service Management team created. As mentioned ...

352 views 0 10
Join discussion

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