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 votes

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 Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,095 views 13 18
Join discussion

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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot