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!

2 answers

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.

0 vote
Fabian Lopez Community Champion Mar 28, 2018

I had a similar situation and I ended creating a numeric field, purchasing the Add on Jira Misc Workflow Extension  (JMWE) to use the transition that increments the value of a numeric custom field in one unit.

I didn't find a solution out of the box

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
Amir Kazemi
Posted 5 hours ago in Jira

We want to know what Jira Service Desk apps you're using!

Hi Community! My name is Amir and I’m on the Jira Service Desk product marketing team at Atlassian. Our team would love to understand how you’re leveraging our ecosystem for Jira Service Desk. Wha...

23 views 0 4
Join discussion

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