It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

jira assigned user

Richard Gergen Sep 01, 2016

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
Answer accepted
Joseph Pitt Community Leader 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.

0 votes
vitaliy zapolskyy Sep 05, 2016

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
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Posted 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 ...

776 views 7 0
Join discussion

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you