Asking user to fill out a custom field on assigning to self

Zoltán Lehóczky October 18, 2014

There is a custom field on our issues. I'd like users to fill out that field when they assign the issue to themselves. I.e. when they assign issues to themselves (but not to others) JIRA should ask them to give a value to this custom field. Without this custom field being filled they should be able to assign the issue to themselves.

Is this possible with JIRA OnDemand?

 

3 answers

1 accepted

1 vote
Answer accepted
Nadir MEZIANI
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.
October 18, 2014

Hi,

I think that there are 3 ways to do this:

1. Develop a plugin using java which extends the assign issue action.

      1.1.    Develop a class which extend Assign Issue action

      1.2.    Customize the jsp file in jira home directory, in cloud version I think that we cannot do this.

2.    Develop your plugin “My Assign Issue operation” using java which

       2.1.    Develop a webwork action class.

      2.2.    Develop you screen using velocity.

3.    Create a global transition “My assign Transition”

      3.1.    Create a customized screen and add field assign and the customize field

      3.2.    Use a scripting plugin in validator and post function to check and do what do you need

Look this links it can help you to do what do you need  in the third way

Global transitions

Script Runner

Jira Scripting Suite

 

 

 

0 votes
Zoltán Lehóczky October 26, 2014

I ended up adding a screen to the To Do -> In Progress transition. Thanks for the help. I may also add validators for my fields to be required just on this screen.

0 votes
Zoltán Lehóczky October 19, 2014

Thank you but as far as I understand neither one of these can be applied on OnDemand, our version, due the installation of plugins and scripting prohibited.

Nevertheless #3 could work without validation (what is acceptable still), I'll try and report back.

Suggest an answer

Log in or Sign up to answer