How to run a JQL search in the incoming sync

Originally asked by Jorden Van Bogaert on 01 February 2021 (original question)


Hi

I’m trying to run a JQL search based on values provided by the replica to create an issuelink. However, while trying to import the necessary packages for the JQL search, I’m getting an error “unable to resolve class”.

Specifically for this line:

import com.atlassian.jira.jql.parser.JqlQueryParser

Any ideas?

Thanks in advance!


Answer by Francis Martens (Exalate) on 21 April 2021

Hi Jorden Van Bogaert

I just bumped into this question while researching a similar case. Sorry to have overlooked your question.
Check out following snippet which contains example code to embed jql search in your incoming sync


Comments:

Jorden Van Bogaert commented on 22 April 2021

Hi Francis

Thanks a lot! No issue at all, I think you already helped me with this during a call a while ago (old community)

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.