Not without some coding.
However, the question here though is probably more about what other button you'd want to create and why? If you're in an issue creation process, then "cancel" and "create" are pretty much the only useful options. If you could explain what you're trying to add, you might find one of us has a better approach that doesn't need hacking
Thanks Nic. Well i can explain you with the requirement. One of our partners who use JIRA extensively for issue tracking had this request. Requirement : The workflow what we designed has a flow like this . Create -> Draft -> Registered and so on So for some of them its annoying to use this type of transition as their task is not submitted directly once they have created an issue. They need to have this extra state as "Draft" . So they would want to bypass this Draft state. So one way what i thought was to have a checkbox which will check if its direct submission or a draft submission and depending on that a post function to fast track an issue. But they came up with another option of having a button. Existing "Create" button will work normally whereas another button "Direct" which will directly move the issue to Registered once it is created. So we want to maintain the same workflow with these transitions. Either Create->Submit->Registered or Create->Registered based on the need.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thought it might be something like that. The requirement "add a button" is a huge understatement of what you want to do. It really is not that simple, as you also need to hack the entire workflow engine to enable a second create transition - Jira only has ONE create transition and that has ONE end point. Your initial solution can be done far more easily - get them to set a field for a fast-track transition listener to pick up. Another button means some serious hackery in the core of Jira.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Oh thanks Nic. I had to do the analysis of this implementation of adding an extra button. Now reading your comments i feel it would be better that i stick to my old solution of having a checkbox rather than a button due to the involved complexity.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jayashree, I have a very similar requirement. I was wondering which solution you ended up implementing and if you had any additional suggestions? Thanks! Shreya
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It varies by version, and where you want the button. In the case above, the button isn't too hard - you'll need to insert it into the createissue.jsp file.
The classes behind it are slightly harder - you'll need to rewrite a chunk of the workflow engine. That's not something I'd try, it's a big project.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Metnioning @Oded Mozesh
Thanks for the fast response.
I use JIRA 7.1.4 and would like to add button to the version window (for example: http://localhost:8080/projects/PLAYT/versions/10001).
I thought I should create a plugin, but currently fails to run atlas-run even on the helloworld example )-:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Why does it have to be a button? It seems like you want to set some 'value' that triggers some external event. Wouldn't it be easier to just use a radio button or select list and allow the user to choose a value (Export - Yes / No)?
Chris
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Good point - if it's not required at "create time", but "when user clicks something", it's a bit easier, as you can create an add-on that exposes something in the menu your users can click and encapsulate whatever code you need to push the data to where you want it.
Or do what Chris says if it's tied to an issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Nic Brough [Adaptavist]
I have a similar requirement in which my client is asking for a button on the transition screens during the workflow. The reason is explained with the scenario of our project -->
One of the transition is 'Send Response' and when the user does it, a mail is sent to the addressed user from the configured mail handler. Sending mail is the most important process and when it is done, only one step remains. Since this is an important step, my client wants something like save and send, which is similar to updating the field and not actually moving through the transition. Would you let me know how adding an additional button work on the transition screen here? If it's too much work, then probably my client has to use 'Edit' on the issue screen to update the fields, but would rather be a long process as he would need to go the tab and find the required field as well. Any help would be appreciated.
Regards,
Chaitanya Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Edit is the best option there - it's what it's for. You could add transitions to handle it (with a screen with only the important fields on it) but that would be overkill and look like workflow progress.
The other option is to write an add-on to provide the extra duplicated action in the menu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks @Nic Brough [Adaptavist] for the quick response. Appreciate it mate.
I have said the same thing about 'Edit' button to them. Although add-on seems an option, it would end up being a redundant with Edit right being there. Will try and stick with Edit only for this requirement.
Regards,
Chaitanya Prabhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough [Adaptavist] I do have a requirement in the create issue page.
In the create issue page i have created some CUSTOM DATE fields (END-DATE)and a duration field.I want to calculate the end-date custom field based on the start date and duration field provided by user while creating the issue.
Is there any way i can do this via a plugin.I am able to do this in the EDIT of an issue using a plugin , but don''t know how to get control over the CREATE-ISSUE PAGE and do the calculation via a plugin.
Any possible solution as much appreciated…Thanks in Advance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This has nothing to do with the question or answers. But use a post-function on the create transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
@Nic Brough -Adaptavist- Thanks for the input.
But can you please let me know how to use the post-function on the create transition, if any documentation available could be helpful or any code snippet.
Expecting some thing like this : When the create issue button is clicked, i want a method in the Servlet class to be invoked which which is availble in my pluggin - This method will calculate the end-date based on the start-date and duration field and save the data.
Please guide me with a possible approch
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
why not have a mandatory field like checkbox and have the workflow (if possible) or a script running on the back end force the transition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.