# Bug PIR-108 - PIR results in a 404 if a group of user is assigned to the submission

Project: Project Inititation Requests
Status: closed
URL: https://community.openproject.org/work_packages/PIR-108

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project creation, Administration / Custom fields |
| Target versions | 17.1.0 |
| Observed in versions | 17.0.0 |
| Bug found in version (deprecated) | 17.0.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Oliver Günther |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Effort (shirt size) |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as an admin

2.  Create a new PIR

3.  In the PIR process, assign a group of user to the PIR (i'm refering to whatever custom field you chose in the PIR config under 'Assignee when submitted)

4.  Finish the PIR and submit it

### What is the buggy behaviour?

  - User gets a 404

  - URL is still showing the PIR submission URL 

### What is the expected behaviour?

1.  User groups can be assigned to a PIT

2.  Upon submission, user is taken to the PIR submission WP

3.  URL is the one of the PIR submission WP

### 

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/918613/content">

### Environment information

**OpenProject version**

Core build

[463a9ef2c11b4cd2b38eb549bd6b359ba6bbb6a1](https://github.com/opf/openproject/commits/463a9ef2c11b4cd2b38eb549bd6b359ba6bbb6a1)

Product version

[8c3fe6f41db59541808d0c7d6509c304fe648d3d](https://github.com/opf/saas-openproject/commits/8c3fe6f41db59541808d0c7d6509c304fe648d3d)

Core version

OpenProject 17.1.0

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
