I am configuring a "structured" project, and as part of this, want to prevent users from editing issues by clicking directly in fields, forcing them to use transitions which have been created with custom screens to control the fields that can be changed at different parts of an issue's lifecycle.
- Removing the Edit Issue permission from users accomplishes the goal of preventing direct field edits.
- Side note: This has the unfortunate side effect of hiding all of the fields that are configured in the View Issue screen which do not have a value set. Is there a way to change this behavior so that they show anyway?
- I have a screen, Screen Foo, which is used as the screen for a transition on the issue.
- Screen Foo contains the Epic Link field.
- Initiating the transition shows me the correct screen; Screen Foo.
- I can add an Epic Link while editing the field within the Screen Foo modal.
- Saving Screen Foo closes the modal and successfully transitions the issue.
- The Epic Link is not properly set on the issue.
I have recreated this in another project. Reproduction steps:
- Create a project
- Create a screen with a single field added to it: Epic Link
- Create a copy of the default workflow. Add a new transition from "Open" to "Open", called "Link Epic". Add the screen made in the previous step to this transition
- Create a copy of the default permission scheme. Remove the "Any logged in user" permission grant from the "Edit Issues" permission
- Associate the new permission scheme with the project
- Use the global "Create" button to create an Epic in the project
- Use the global "Create" button to create a Story in the project. Do not add an Epic Link at this point.
- View the detail page for the Story you just created
- Click the button for the "Link Epic" transition in order to open the screen modal
- Add the previously created Epic as the Epic Link
- Click the blue "Link Epic" confirmation button
- Watch the issue detail view reload, and notice that there is no Epic Link
- View the detail page for the Epic you created earlier
- Notice that there are no Child Issues
- Click the "Create issue in epic" button. Enter a title for the issue and press Enter.
- Notice that the issue displays in the "Child Issues" section on the Epic's detail page
- Refresh the page. Notice that the issue is no longer displayed there, and has no association with the Epic whatsoever
Why is the Epic Link not set? Updating other fields in Screen Foo works as expected. Am I missing something? This seems like a definitive bug.