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

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

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

Error using issueFunction IN linkedIssuesof

Hello,

 

I'm generating a simple filter using the linkedIssueof function.

The filter is issueFunction IN linkedIssuesof(filtername,"relates to")

And I'm getting this error message all the time:

  • Error in scripted function: linkedIssuesOf, see below
  • Error in the JQL Query: Expecting operator before the end of the query. The valid operators are '=', '!=', '<', '>', '<=', '>=', '~', '!~', 'IN', 'NOT IN', 'IS' and 'IS NOT'.

From all the material I read, I couldn't find an article  that help me out.

Thanks

2 answers

1 accepted

0 votes
Answer accepted

Hello @Juan Pablo Bruno  Welcome
Why dont you try this

Provide your JQL direct query.

issueFunction IN linkedIssuesof("your jql sub query")



 

Hi Sudarshan, it actually worked when I used issueFunction IN linkedIssuesof ("filter=Myfilter"). All other combinations were not working. So I think I got it solved.

Like Sudarshan TS likes this
0 votes

Your use of linkedIssuesOf is nonsense as you've given it in your question, I'd worry about where you got it from.

The actual usage is:

linkedIssuesOf(Subquery, [link name])

This is similar to parentsOf and subtasksOf, in that it will return the linked issues.

For example, try this instead:

issueFunction in linkedIssuesOf("status = Open", "blocks")

I don't think I understood what you're saying. I'm using the way you're posting, so I don't see a nonsense.

Thanks anyway. I fixed already.

 

BTW, the example you provided didn't worked for me neither.

The sample code worked fine, it's straight out of the docs.

The search you posted was nonsense because you put in "filtername" instead of a JQL search.  That's where the function was choking on "valid operators" you had not put in a real search.

Suggest an answer

Log in or Sign up to answer
TAGS

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