Hi,
I'm trying to use a placeholder in 'Filter issue scope' in Insight Object/s custom field (CF) and I'm in trouble.
Here is the use case:
My thought is that the hidden field is perhaps populated by Jira after the request creation that's why insight cannot find it. ?!?
My questions are:
Thank you
Hi Mohammed,
Can you try to convert the attribute that holds the value "Incident" & "Request" to objects instead ? Then it might be easier to achieve what you need.
The idea is to create an objectType called "Request type". Then create an object called Incident and another called Request. In your objectType "Application" change the type of the the attribute (let's call it Request_type as well) from default text into object and then reference the objectType you created "Request type". Then in your IQL filter you can use something like objectType HAVING inR(${Request_Type}).
If you have more questions feel free to share them anytime!
Cheers!
Nader
Hi Youssef,
Thank you for your answer. It worked perfectly well (I changed your IQL: Used Filter Issue Scope (IQL) : Type = ${Request_Type} and added an Insight CF as hidden to the portal, so I can change its default value depending on the request type).
But What I don't understand, is that, according to the documentation, placeholders must work with Jira custom fields also which is not the case here. Can you please explain why? what am I missing here?
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They do work.
So if You would setup your field with:
Object Type mapping to apps, and Filter Issue Scope referenced either to Issue type or Customer Request Type (in JIRA SD) it would work. However You would need to keep attribute naming convention exactly the same as Issue Types or Customer Request Types. Any alteration (capital letters, special chars, etc.) between IQL in Filter Issue Scope, naming conventions used in non-Insight fields and values of attributes in Insight objects would break it.
What Youssef proposed is a good approach but misses actual reference to Issue Type/Customer Request Type itself (as is based on Insight objects only - which gives consistency of data). To have it related to e.g. Customer request types in JIRA SD I would setup hidden fields in CRTs on portal - to be auto populated with respective request type Insight object. Without JIRA SD I would use Workflow PF to populate it automatically based on Issue Type.
Or simply - mind the naming conventions and skip Request Types objects in Insight, mapping directly to CRT/IT if they are listed as attributes in App objects.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I had the same issue here and solved it by putting .label in the placeholder of my custom field. (My custom field was a single select list)
So for yours:
Type = ${customfieldName.label}
I am aware this is a few years too late but might help someone else who comes across this thread like I did trying to solve it..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, I might know what is all about, but to not mislead You I would need some more details:
1. Hidden Field - what kind is it? Insight, or JIRA Field (Text, Select etc.)?
2. Do you have ObjectType in Insight called "Type" or "Incident"?
3. Have you tested variable with CF name instead of custom field_XXXXX?
4. Have You considered using Postfunction to populate it? cause auto populating values to Insight or JIRA fields based on Insight object attributes or Insight Field values do not work automatically on in-line editing
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear @PJ Wysota,
Thank you for your quick reply. Here are the needed info
thank you
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
for 3. Doesn't work. I have also tried hiding the 'summary' and using the $summary while filling the summary with the right info. Was trying to see if the problem is coming from Insight not supporting custom fields.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
OK, so it is more clear now.
You mismatching some use cases. But to make it faster - here are solutions:
Field Application - to be picked by User - it should be Insight CF with Filter Issue Scope - it should pint out to "ObjectType = Application"
Then Your hidden field - if this is JIRA CF (text/Select) - use post function - Set a Jira custom field with the attribute value from a selected object with setup against your source field = Application, attribute Type, and Target Field name. NOta that with Select - it has to maintain EXACTLY the same values as Type attribute in Insight.
If You want your Type attribute to populate into Insight Field - Type should be Insight object (Insight Fields are not populating attributes directly, they can render attributes along with Objects, but not attribute values instead of objects).
And then setup would require some more sophisticated IQL.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thank you @PJ Wysota for your reply, But when I read your answser I think that perhaps I didn't explain my use case very well.
I will try to be clearer.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.