Adding the status buttons to the Assign screen

My users are lazy with changing the statuses. I would like to add the status buttons to the Assign screen so that whenever they assign the task to someone else, they will also change the status - all in the same screen.

Can that be done?

Thanks

2 answers

1 accepted

it is simple, just add the assignee field to the workflow transition, for example when issue moving from New -----> Working, add the assignee button on working transition screen!

Thanks, that's sounds about right, but can I hide the Assign button from the view issue screen?

hi

do you know if hiding the Assign button is possible?

you can try with following JS by adding in announcement banner

<script type="text/javascript">  
jQuery(document).ready(function($) {
	JIRA.bind(JIRA.Events.NEW_CONTENT_ADDED, function (e,context) {
		hideAssigneeOperation();
	});
		hideAssigneeOperation();
	
	function hideAssigneeOperation(){	
		var projectName = $.trim($("#project-name-val").text());
		var issueType =  $.trim($("#type-val").text());
		if(projectName == 'JIRA' && issueType == 'Defect')		
			$("#assign-issue").hide();		
		else
			$("#assign-issue").show();			
		
	}
});
</script>

if it worked then i suggest to remove the code from announcement banner and load it as webresource module in a plugin, for your reference check this

https://developer.atlassian.com/display/JIRADEV/Web+Resource+Plugin+Module

Thank you. will try that.

0 vote

That's really not a simple change. The "status buttons" are not performing simple actions, they're triggering movements of an issue through the workflow, which means conditions, validators, screens, post-functions, and so-on.

To take the simple action you've suggested - you want to go from "in progress" to "resolved". Specifically, how would you handle the screen this transition needs to present to the user to gather resolution information?

Two options spring to mind

1) A hack to remove "assign" from the options on an issue, forcing people to use transitions if they want to re-assign issues

2) Use a listener to catch "issue assigned" and perform the relevant transition when people do it.

Thanks but #2 is not that easy since not all statuses have a predefined assignee.

I will think it throught. Thank you.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

138 views 5 9
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you