Dear Community,
I've a requirement in the JSM That,
Shall we get Date and Time stamp in the comment section?
Please advise me,
Reg,
Suneel Babu
Hi Suneel,
@Mikael Sandberg’s suggestion is the cleanest option if you’re using JSM Premium, since Assets is included. You’d model Departments and Applications as Assets objects, then create an Assets field for each one. Each Application object would need a reference back to its Department.
In the configuration for the Applications Managed field, you can use Filter work item scope (AQL) to reference the Department field selected on the request. That makes the second field behave like a dependent dropdown, so users only see applications associated with the Department they picked. Here's how one Assets field can filter another.
One distinction is that this filters the available choices. It doesn’t necessarily select every matching application automatically. If Applications Managed should contain all applications for that Department without the user choosing them, you’d normally use automation after the Department field changes to look up the matching Assets objects and populate the field. If the user needs to select one or more applications from a shortened list, the dependent Assets fields should be enough.
Comments already show when they were added, although Jira may initially display the time relative to now, such as “2 hours ago.” Hovering over it should show the full date and time. If you need the timestamp written directly into the comment text, an automation comment can include `{{now}}`, with formatting options documented here.
Thanks,
James
Hi @suneel_babu,
Welcome to Atlassian Community!
You can do this if you use Assets, then you can create dependent fields and use Filter work item scope that was introduced a couple of years ago.
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.