Clear custom field when assigning

when we assign a ticket either by "Assign" or "Assign to me", i want a custom field to be emptied.

any ideas?

1 answer

you'll need to create a workflow transition with a post function.  You can actually create the step in the workflow with its own screen that only allows you to amend the Assignee field.

To edit the screen the transtion uses, click on the transition, and hit edit.  You'll be given the option to choos the screen it uses.

Then to create the post function;

  1. Click on the transition again.
  2. Select postfunction.
  3. Add post function.
  4. Third one down should be clear field value.
  5. Click on that and press add.
  6. Select the field you wish to clear.
  7. Press add.

Now publish the workflow

When you now select the transition step you created/amended it will wipe the contents of that field for that issue.

thats similar to what we have already tried. we ran automation to pick up the event listener to set off a looped transition to clear the content of the field.

it worked for a while, but has now stopped working. i have re-created the automation and the transition, but it still isnt working.

screenshots to follow...

 

Yes I see, pretty close.

I dont have a sandbox at the moment so I can't test my theoretical answer for you.

It'd be kind of neat though having an assign ticket trasition, which also wipes out the group assignment.

thats what im looking for. fingers crossed it starts working all by itself, but i dont think that will happen.

Suggest an answer

Log in or Join to answer
Community showcase
Teodora [Botron]
Published Thursday in Marketplace Apps

Jira Inferno: The Nine Circles of Jira Administration Hell

If you spend enough time as a Jira admin - whether you are managing a single, mid-sized instance, a large enterprise one or juggling multiple instances at once - you will eventually find yourself in ...

478 views 1 15
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
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