Appended value to a custom field in Jira ticket

I have below requirement please let me know how this can be achieved?

We have a custom field by name MasterID and we will the enter the value to it while creating a Jira issue (say MasterID=12345)
In workflow transition, we need to have same custom field MasterID where the original value 12345 should be readonly and it should allow us to enter new value say 98765.
This new value should be appended to the original value ie MasterID should now have two values 12345 and 98765.

Please let me know how this can be achieved and if there are any type of custom field available for this?

1 answer

In workflow transition, we need to have same custom field MasterID where the original value 12345 should be readonly and it should allow us to enter new value say 98765.
  • You can set custom field "Read-Only" by removing it in the "Edit Screen", thus the only option that it can be updated is through a transition.
This new value should be appended to the original value ie MasterID should now have two values 12345 and 98765.
  • I am not aware of any custom field that can do what you want. You can accomplish it through scripting and some add-ons (JIRA ScriptRunner). Get the current value, then append to the updated value upon transition. This will need to be added in the post-function.

 

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 18, 2018 in Jira

What modern development practices are at the heart of how your team delivers software?

Hey Community mates! Claire here from the Software Product Marketing team. We all know software development changes rapidly, and it's often tough to keep up. But from our research, we've found the h...

24,350 views 2 7
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