Hi guys,
Is there the possibility to set the value of a issue field in a my customfield?
For example:
my_customfield=Created (field of Issue Dates) and if there is the possibility to convert the value.
Ex. my_customfield=convertInNumber(Created).
Thanks!
Hi Pierluigi,
With Jira Cloud, all instances now have the ability to use automation. With Jira Cloud's own automation, we can certainly set values for customfields when they are created, edited, transitioned, etc. There are other solutions in Marketplace that could help here as well, but I suggest automation because I'm confident it already exists in your Jira Cloud site.
You can create a new automation rule in that project and you will probably want to pick out a smart value, such as one of the date/time functions. I don't know of a specific means to convert a date/time value into just a numeric field. I think there is going to be some loss of the date/time value there in the process. However I was able to set a text type custom field with automation and set that value to be the current time. Since my trigger is when issue is created, that date/time is set into that field by automation. My rule looks like this:
And in turn my issue looks like this:
Where my textdate field is set to get that smart value from automation.
I hope that helps.
Andy
You'll need one of the scripting or automation apps to be able to do that.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.