jira suite utils - appending to a custom field

Hello

I have a multi line text custom field. I want it to contain the number of times a bug has been reopened. I tried to get it to increment a number by 1 each time but this isnt supported. I thought about then just putting x into the field each time it is reopened. the number of x in the field would indicate the number of times it is reopened.

I tried putting 'x' into the field and set appending but it only ever sets x. It doesnt append. Same for current datetime. It does however work for current_user.

Can I get x to be appended?

And a separate question is can I get concatenate these things? Is it possible to get current user and current date time both appended to a field?

Thanks in advance. Im really liking JIRA suite utils so far!

1 answer

Why use a Multi Line text field? Can't you use a numeric field? And yes, you can set custom field values programmatically (take the current value then add something to it). Take a look at the JIRA ScripRunner.

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 ...

247 views 0 11
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