Project-roles not displayed/editable with enabled JFS in JIRA 4.4.1

  • hermann
Posted: Fri, 10/07/2011 - 10:40

I am using JIRA 4.4.1 with JFS 1.4.1_44 installed.

If I try to display (in order to edit) the project-roles of a project (I have 10 different roles) by browsing to the project as an administrator and clicking on the "People" tab I get an error dialog:
"The JIRA server could not be contacted. This may be a temporary glitch or the server may be down."

When I look at the access log of the server I see a request that receives a 400 (Bad Request) response (the project-name I am using is "DBDEVEL"):
"GET /plugins/servlet/project-config/DBDEVEL/function%20()%20%7B%20%20%20%20return%20this.replace(/(%5B:.%5D)/g,%20%22%5C%5C$1%22)
;%7D?_=1317971254681 HTTP/1.1"

urldecoded this reads:
GET /plugins/servlet/project-config/DBDEVEL/function () {return this.replace(/([:.])/g, "\\$1") ;}?_=1317971254681

No idea if this helps, but this ".... return this.replace..." string is defined in "atlassian-jira/includes/jira/common/util.js" (and "utils-min.js")

As soon as I disable the JFS plugin the problem is gone: No more Bad Requests only requests in the line of
"GET /rest/api/2.0.alpha1/project/DBDEVEL/role..."

Any ideas/hints?

I have one Field Security Scheme with (for now) a quite simple rule-set:
Assignee (assignee)
1. User is in project role Agenten (8) Allow All
2. User is a member of group jira-users (7) Deny All


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

"Block Unknown URLs" has to be "OFF"

  • hermann
  • 07/07/11
  • Thu, 11/17/2011 - 18:13

hello rus!

I had the same problem with the workflow-designer..
alex pointed me to the right direction:

you have to "Check "Block Unknown URLs" option at JFS Settings page and set it to OFF. "


Hi Hermann,Unfortunately I

  • rwoerner
  • 11/17/11
  • Thu, 11/17/2011 - 16:52

Hi Hermann,

Unfortunately I can't give you any hints, but I am also having a very similar problem, or potentially the exact same problem. My install had been working and almost spontaneously seemed to fail in the same manner you described. In additional to the people screen for project roles, I also have the follow problems, which you may also have that are broken/ resolved based on disabling/enabling the field security plugin:

  • The graphic for the workflow won't load from the "view workflow" link on an issue
  • The User Directories page goes to a blank white screen
  • When importing issues from CSV, attempting to download the map file afterwards also results in a blank screen.

    I'll be sure to update if I come across any resolutions.

    Edit: I hadn't seen the other posts prior to posting. My apologies.

  • problem fixed. kind of.

    • hermann
    • 07/07/11
    • Sat, 10/08/2011 - 14:28

    hello alex!

    thank you! that helped indeed. it fixed another problem as well: workflow-designer wasn't working with this set to "ON".

    I read "It is recommended to keep this setting ON in a production environment" and set it to ON...

    what is this all about anyways? what are "unknown URLs"?


    Hi Hermann, Check "Block

    • admin
    • 02/16/10
    • Fri, 10/07/2011 - 18:40

    Hi Hermann,

    Check "Block Unknown URLs" option at JFS Settings page and set it to OFF. This should help.