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
Posted Oct 09, 2018 in Jira Core

How to manage many similar workflows?

I have multiple projects that use variations of the same base workflow. The variations depend on the requirements of the project or issue type. The variations mostly come in the form of new statuses ...

369 views 6 0
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