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 Sign up to answer
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Bridget Sauer
Published Mar 09, 2018 in Jira Service Desk

E.L. Fridge's take on education, Jira Service Desk, and creative Jira use cases

...word of mouth, so by 2016, we were working with several other entities on campus to implement Jira Service Desk . The Atlassian motto of “for every team” has really come true for us in this case. We...

1,234 views 2 14
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