Everyone creates Defects but only the boss creates Enhancements -- how?

Brent Webster
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2012

Subject line say it all.

2 answers

1 accepted

0 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2012
  1. For 1:
    1. You need to add a custom field in Jira of type 'Message Custom Field for Edit' (details here) and add it to the screen related to 'Enhancements' issue type create screen (details here)
    2. For the 'Default Value' of the custom field add the code as mentioned in the link
    3. Make sure that you have already a group in Jira which contains the users who should have permission to create Enhancements (which includes the boss) and use that group name in the above code uses 'employees' as the group)
  2. For 2: When you are upgrading to a new Jira release, since this is a custom field created, there will not any need to re-administer this again.
  3. For 3: No idea
Brent Webster
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2012

Interesting and again thanks for the quick reply

0 votes
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 7, 2012

That is achieved by following what is documented here. Basically it means, for the Enhancement issue create screen add a 'message custom field for edit' with a simple javascript to hide the Create button if the user is not part of a particular user group. And 'The Boss' alone remains in that group :)

Brent Webster
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 8, 2012

Thanks for the quick and excellent reply. Interesting the number of users that want this feature but Atlassian won't implement it. I'm not to familiar with updating the Java code so I have a couple of questions:

1/ What file am I editting?

2/ Will this file get overwritten on a subsequent new Jira release?

3/ Any comments on the Jira Scripting Suite using jython?

Suggest an answer

Log in or Sign up to answer