Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Error using the insight post-function "Assign objects from and IQL query based on data from an issue

Janet Coffey
Contributor
June 9, 2023

We're using version Jira Software Data Center v 8.20.6 with JSM 4.20.6.  

When creating an "Assign objects from and IQL query based on data from an issue" post function I'm getting an error in the IQL syntax.  It looks like I can't reference multiple objects:

Here's the IQL statement I'm trying to use:

object having inboundReferences(key in (${customfield_A}) OR key in (${customfield_B${0}}), referenceType IN ("Belongs"))

It's telling me that I can't use the {0} postscript with the customfield_B.  That's a multiple object field and the only way to get all the objects in that field checked is to use the postscript.

Is that a bug or am I doing something else wrong.

When I leave out the postscript I can save the post-function but the keys from the multiple objects custom field are ignored.

Thanks for any assistance

1 answer

1 accepted

1 vote
Answer accepted
Janet Coffey
Contributor
June 9, 2023

It was a typo on my part, had the $ inside the {} for customfield_B.  Only saw it when comparing my question with my actual post-function.

Thanks

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
TAGS
atlassian, atlassian government cloud, fedramp, webinar, register for webinar, atlassian cloud webinar, fedramp moderate offering, work faster with cloud

Unlocking the future with Atlassian Government Cloud ☁️

Atlassian Government Cloud has achieved FedRAMP Authorization at the Moderate level! Join our webinar to learn how you can accelerate mission success and move work forward faster in cloud, all while ensuring your critical data is secure.

Register Now
AUG Leaders

Atlassian Community Events