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 votes
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
Community showcase
Asked Thursday in Jira Ops

I'm John Allspaw, Ask Me Anything about incident analysis and postmortems

I'm John Allspaw, co-founder of   Adaptive Capacity Labs, where we help teams use their incidents to learn and improve. We bring research-driven methods and approaches to drive effective inciden...

5,443 views 21 17
View question

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