jira assigned user

I have a workflow that is using a post function to assign the issue to the current user.  However there's a screen displayed during this transition that prompts for a variety of information including who to assign it to.  Is there a way to have the post function only apply if the user has not otherwise set it?

2 answers

1 accepted

1 vote
Accepted answer
Joseph Pitt Community Champion Sep 01, 2016

Unless you allow unassigned issues it is going to be tough to detect if they have changed it from when they started the transition. You'd need some kind of script or listener. You can't do it out of the box. I don't have any experience with them.

user can use "Assign to me" link on a view screen, without doing transition.

if you want post-function to assign current user when there is no assignee, lets create a transition that 

  • have condition "assignee is empty"
  • uses screen without Assignee field, so user isn't asked for something that is already decided

if you want to allow user to specify an assignee during transition, then lets add another transition that:

  • have condition "assignee is NOT empty"
  • uses screen with Assignee field. 
  • validate that Assignee field is not empty

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

244 views 6 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