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

This widget could not be displayed.

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.

This widget could not be displayed.

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
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted yesterday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

53 views 1 0
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