New and Improved 3.13 Beta. Highlights: Shareable filters and dashboards and lots of other goodies. Any feedback can be raised as JIRA issues in the JIRA project.
Issue Details (XML | Word | Printable)

Key: JRA-2427
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Keith Brophy
Reporter: Dave Loeng [Atlassian]
Votes: 197
Watchers: 74
Operations

If you were logged in you would be able to see more operations.
JIRA

Bulk Workflow Transition

Created: 01/Oct/03 02:34 AM   Updated: 19/Apr/07 04:31 AM
Component/s: Bulk Operations
Affects Version/s: None
Fix Version/s: 3.5

Time Tracking:
Not Specified

Issue Links:
Blocker
 
Duplicate
 
Part
 
Reference

Participants: Aaron Godert, Anton Mazkovoi [Atlassian], Brian Krueger, Chris Wood, Colin Bendell, Dave Loeng [Atlassian], Eric Spaulding, Gerd Gueldenast, Jeff Turner [Atlassian], Joe Fecarotta, Jordan LeDoux, joshua portway, Keith Brophy, Marilyn Daum, Mark Stanton, Matt Doar, Miro Lehky, Neal Applebaum, Nick Menere [Atlassian], nicolas frank, Owen Fellows, Phylina Zhanag, Po Wong, Sulka Haro, V V Preetham, Vincent van Wichen and Vladimír Skrbek
Since last comment: 2 years, 23 weeks, 4 days ago
Resolution Date: 14/Dec/05 07:02 PM
Labels:


 All   Comments   Work Log   Change History      Sort Order: Ascending order - Click to sort in descending order
Owen Fellows added a comment - 10/Nov/03 07:47 PM
This linked Issue is the feature you require.

Aaron Godert added a comment - 05/May/04 01:13 PM
This feature would be extremely helpful, especially since sometimes we have projects that do not require a full QA process which makes use of the resolve, reopen, close workflow interaction. Sometimes, simply resolving is sufficient for getting the work done.

Vincent van Wichen added a comment - 18/Jun/04 03:12 AM
When is this finally going to happen. Issue is more than 6 months old

Chris Wood added a comment - 27/Oct/04 02:25 AM
This could be generalized to a bulk workflow transition.

For example, we have an 'awaiting build' and 'awaiting deployment' workflow step, it would be good if we could bulk transfer everything in these to the next step in the workflow.


Brian Krueger added a comment - 29/Oct/04 03:15 PM
Being able to close all bugs in a query via bulk operation would be a HUGE improvement when you're the reporter and you have searched for resolved issues you must verify!

V V Preetham added a comment - 18/Jan/05 06:37 AM
Guys, this is a very critical feature for our project... This issuse is open for a long time... Would Atlassian's Jira team kindly update the status on this one...

nicolas frank added a comment - 25/Jan/05 07:37 AM
I need it to ! (800 issues to move from reslved to closed... I will not do it one by one for sure !!! )

Jeff Turner [Atlassian] added a comment - 27/Jan/05 12:09 AM

Mark Stanton added a comment - 10/Feb/05 03:45 AM
Hey Guys

This much support for an issue and its not even scheduled yet?


Anton Mazkovoi [Atlassian] added a comment - 16/Feb/05 01:21 AM
We are definitely keeping this issue in mind. Of course, it is not very easy to implement due to JIRA's custom workflow support, and support for custom screens for workflow transitions which will be coming in JIRA 3.2. Please bear with us, I am sure we will get to this one in time.

Sulka Haro added a comment - 16/Feb/05 01:50 AM
Even getting support for closing issues of one type in one project would help a lot...

Colin Bendell added a comment - 16/Feb/05 07:51 AM
Even a stored proc would be useful...

Miro Lehky added a comment - 07/Apr/05 03:49 PM
I agree, this would be an invaluable feature!

Gerd Gueldenast added a comment - 14/Apr/05 10:14 AM
me 2!

Matt Doar added a comment - 21/Apr/05 07:14 PM
One more vote

joshua portway added a comment - 12/Jun/05 10:23 AM
as an interim measure here's how I did a bulk close on more than 200 bugs. This is a very quick and dirty applescript that should work with an out-of-the-box install of jira 3.2. Since Safari for some reason doesn't expose it's DOM to Applescript (at least as far as i could tell) this uses interface scripting - therefore you'll need to turn on UI scripting for this to work. Since it uses raw UI scripting, it's obviously very brittle and if the page layout changes it'll stop working. But if, like me, you'd rather not spend the whole day clicking web links then give it a go.

This script assumes you only have the one window open in safari (told you it was brittle). Do a search in Jira to list all of the issues you want to close. click on the first issue to get it's detail screen, then run this script. It will loop through all the issues in the search closing them all, and eventually hanging when there aren't any more - just click stop in your script editor to stop it when it's done (told you it was brittle).

activate application "Safari"
tell application "System Events"
tell process "Safari"
repeat
repeat with wait from 0 to 500000
end repeat
set done to false
repeat while not done
try
click static text "Close Issue" of UI element "Close Issue" of group 36 of UI element 1 of scroll area 1 of group 4 of window 1
set done to true
end try
end repeat
repeat while the title of window 1 does not start with "Close issue"
end repeat
repeat with wait from 0 to 100000
end repeat
set done to false
repeat while not done
try
click button "Close Issue" of group 44 of UI element 1 of scroll area 1 of group 4 of window 1
set done to true
end try
end repeat
repeat while the title of window 1 does not start with "[#"
end repeat
repeat with wait from 0 to 100000
end repeat
set done to false
repeat while not done
try
click static text "Next >>" of UI element "Next >>" of group 54 of UI element 1 of scroll area 1 of group 4 of window 1
set done to true
end try
end repeat
end repeat
end tell

end tell


Eric Spaulding added a comment - 11/Aug/05 09:35 AM
Heh...this issue looks pretty old. I'd be happy with just basic Resolve/Close...We don't need full, extensible workflow ability.
Has anyone written a workaround?
Thanks

Joe Fecarotta added a comment - 11/Aug/05 09:48 AM
Or a good work around. One dude said Use Jelly, but I'm not sure how that would automate the process. I haven't looked into the JIRA Schema very much, but it seems that this would be a simple task to do via SQL.

Nick Menere [Atlassian] added a comment - 12/Aug/05 01:05 AM
Hi guys,
Just letting you know we are very aware of this issue but for 3.4 we are concentrating on Wiki style editing and Issue types/Priorities/Statuses per project.
As you can see by the popular issue list:
http://jira.atlassian.com/browse/JRA?report=com.atlassian.jira.plugin.system.project:popularissues-panel
we do listen to the votes, with 2 of the top 3 being implemented for 3.4.
Hopefully this will make it into a near release. We will try and keep you informed on this.

If you are going to do it through SQL, please take into consideration the OS Workflow steps, current and history. These tables are described in the entitymodel.xml file.

Also, as of 3.3 you can now transition issues through the SOAP interface.

Cheers,
Nick


Po Wong added a comment - 23/Sep/05 08:33 AM
Another vote for this feature

Phylina Zhanag added a comment - 02/Nov/05 05:40 PM

Yes, I think this feature will make a lot of people's life easier...

Keith Brophy added a comment - 07/Nov/05 07:36 PM
Updated summary to better reflect this issue.

Po Wong added a comment - 22/Nov/05 05:01 PM
Is there a plan on this issue being fixed soon? A lot of time is being wasted in my organization because developers have to manually change the statuses individually due to this. And it looks like there is an overwhelming interest to get this issue fixed.

Keith Brophy added a comment - 22/Nov/05 05:12 PM
Hi,

This feature is being currently implemented and has been scheduled for inclusion in the next major release - JIRA 3.5 - but as yet, the 3.5 release date has not been finalized. A very tenative date for the 3.5 release is Feburary 2006 - although we may try to release earlier with this feature included.

Regards,
Keith


Marilyn Daum added a comment - 28/Nov/05 04:13 PM
I'd really appreciate both bulk close and bulk reopen. It would save a lot of tedious manual work!

Vladimír Skrbek added a comment - 30/Nov/05 10:07 AM
Yes this feature will be will very helpful.
I look for it by search and I thing it should be in the BULK component and not in WEB component.

Jordan LeDoux added a comment - 14/Dec/05 12:06 PM
The lack of this feature has wasted a week of my life. You try manually closing 1500 tickets.

I don't understand what's so hard about writing an SQL query. It doesn't matter if it takes the server an hour, you're denying the users the ability to make that choice given the implications.


Neal Applebaum added a comment - 14/Dec/05 01:43 PM
Jordan - I appreciate your frustration too. It's the first issue I voted for after I purchased JIRA. Just by chance, one of our project leads also asked me today about this feature. I explained to him why it is not a trivial task, and he understood. When you view an issue (one by one), logic takes place to allow operations based on the user's permission, the workflow associated with the project/issue type, and the issue's current status.
For a standardized installation, like ours, all our projects basically have the same workflow and we don't need to bulk resolve or close across projects. Then again, I do have post functions on Resolve issue for many workflows that changes for each project, so it's still not all that trivial even for us. When a group of issues from a filter are assembled, it could be for a combination of issue types and projects in various statuses. Logic would have to take into account for every issue whether the operation can be performed. This is basically what Anton said above. I wouldn't want to write that logic
I'll mention a workaround I gave him which might help you as well. You can create a dummy user called "Closed" and assign all issues you want to close to that dummy user (I would create a different one for each project - e.g. username closed_proj1; Name: "Closed - Proj1"). Then add that dummy user to the assignable user permission in the project(s).
Bulk assign will allow you to assign all the issues to that user. After you're done, you can remove the user (if you wish) from the assignable list so no-one else will assign issues to that user.
Then, when 3.5 is released, you can do a bulk close of all issues assigned to the dummy "Closed - Proj1" user.

Jordan LeDoux added a comment - 14/Dec/05 04:17 PM
Thanks Neal. I was just a little frustrated.

We're in the middle of upgrading 2.6.1 to 3.1, so I doubt we will upgrade to 3.5 this year, but its good to know this issue is being resolved. Thanks for the work around, but unfortunately, I don't believe my boss would go for it.


Keith Brophy added a comment - 14/Dec/05 07:02 PM
This feature is now complete and will be included in the upcoming 3.5 release.

Sulka Haro added a comment - 17/Jan/06 01:51 AM
Commenting here since I don't know how the feature has been implemented.

Does the bulk transition allow disabling notifications from being sent when the bulk transition is being done? This is a fairly important feature since I know many, many users will use this feature to change thousands of issues and hence cause massive amounts of "spam" being sent out from Jira. From end-user acceptance point of view, being able to disable the messages from being sent would be very good.


Keith Brophy added a comment - 17/Jan/06 05:40 PM
Hi Sulka,

The bulk workflow transition does not currently allow notifications to be disabled during execution.

This issue is being tracked at JRA-2732, while another option to send only one email for bulk edits is being discussed at JRA-4303.

A temporary workaround would also be to disable mail notifications during the operation of the bulk change:

http://www.atlassian.com/software/jira/docs/v3.4.2/restore_data.html#Disabling+email+sending%2Freceiving

requiring JIRA to be stopped and started before and after the bulk change.

Regards,
Keith


Keith Brophy added a comment - 17/Jan/06 05:44 PM
Apologies - that issue link should have been JRA-4304 rather than JRA-4303.