How to clear Jira custome field value which Jira maintain?

 

1 answer

0 vote

I'm afraid the question is a bit too short to tell us what you want.

Do you mean you want to clear the value on the issue?  That would be my first guess, but then you say "which JIRA maintain", which suggests you might be wanting to remove the value from the field's option list, which is a totally different question.

Also, do you mean in the UI?  Or something inside JIRA?  Or by an external call over the REST interface?

@Nic Brough [Adaptavist]

Thank you for response. Scenario where I am having problem is -

" I have a screen in workflow to send mail.This screen is having fields like email_id , subject ,body.So I want to clear these field value after sending mail."

Please let me know in case of any confusion.

Thank you for response. Scenario where I am having problem is -

" I have a screen in workflow to send mail.This screen is having fields like email_id , subject ,body.So I want to clear these field value after sending mail."

Please let me know in case of any confusion

Ok, it's not the way I'd choose to send an email, but that's another question.

To clear the fields, you should be able to use "set field" post-functions on the transition.  Off the shelf, JIRA only has functions that work on system fields, but you need to clear custom fields.  There are lots of add-ons that will provide them - I would use the JIRA Suite Utilities add on (free, well supported, and installed on just about every JIRA in existence).

You will need to make sure that your post-functions to clear fields are run after the post-function that sends the emails.

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
Fadoua M. Boualem
Published 25m ago in Trello

Using Trello to manage events

As a Jira power user, I was at first doubtful that Trello could benefit my workflow. Jira already uses boards (ones you can customize!), so why would I even need to use Trello?! In this post you will...

37 views 2 1
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