Use custom Type Projection if creating new queue

Artimes 346 Reputation points
2020-08-17T14:54:54.253+00:00

Hi there,

I created the following type projection:

<TypeProjections>
 <TypeProjection ID="WorkItem.RelatedConfigItems" Accessibility="Public" Type="WorkItem!System.WorkItem">
 <Component Path="$Target/Path[Relationship='WorkItem!System.WorkItemRelatesToConfigItem']$" Alias="RelatedConfigItem" />
 <Component Path="$Target/Path[Relationship='WorkItem!System.WorkItemAboutConfigItem']$" Alias="AboutConfigItem" />
 </TypeProjection>
 </TypeProjections>

I can choose this type projection in the criteria menu if I create a view but I can't select it if I want to create a queue. It seems I can create the queue based on my custom TypeProjection only manualy, by editing the managemnetpack. Are there other options?

Service Manager
Service Manager
A family of System Center products for managing incidents and problems.
232 questions
{count} votes

Accepted answer
  1. Artimes 346 Reputation points
    2020-08-20T14:20:59.623+00:00

    It's not possible to build queues on System.WorkItem. I expect this is an intentional restriction by Microsoft not wanting you to build queues encompassing multiple work item classes.

    0 comments No comments

5 additional answers

Sort by: Most helpful
  1. Andreas Baumgarten 108.7K Reputation points MVP
    2020-08-18T10:35:52.047+00:00

    It's an older post but maybe it's still helpful:

    Creating Queues and Groups Using Type Projections

    Regards

    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

  2. Artimes 346 Reputation points
    2020-08-19T00:32:18.643+00:00

    Hello Andreas,

    the issue that I described in the start post was that I had created the queue manually already wich contains my type-projection. And I asked for other option. The link u shared shows how to create a queue manually what I already did. I attached my queue which is also listed and editable under library > queues in the console. But an other issue appears if I bind this queue to a role, the role has no access to any work item. Any suggestions?

    18602-queue.xml

    0 comments No comments

  3. Andreas Baumgarten 108.7K Reputation points MVP
    2020-08-19T06:22:00.663+00:00

    Sorry, now I got it.

    As far as I know the only option is to edit the MP.

    If you assign/bind the Queue to a SCSM User Role the related User Role is allowed to read the User CIs as well?
    1st option: Allow All ConfigItems
    2nd option: Create a SCSM Group for User CIs and and "bind" this to the SCSM User Role)?

    Regards

    Andreas Baumgarten

    (Please don't forget to Accept as answer if the reply is helpful)

    0 comments No comments

  4. Artimes 346 Reputation points
    2020-08-19T10:28:06.03+00:00

    I'm using the author role-profile for my user role and enabled all classes, config-items, groups, tasks, views and forms. I restricted only the queues to my custom queue which I attached above and I got no results.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.