Hello everyone,
I have a bit a complex situation and I am wondering if what I want to automate is actually doable given the current functionality in the JSM Cloud.
Upfront, I am also willing to use webhooks or external API / scripting solutions if needed, but as a last resort if no other options are available.
Current situation:
- We are having an issue type, called "Upgrade Projects", where we upgrade a software to a higher version. When creating this issue one has to state to which version, which module will be updated. These are two separated Asset custom fields.
- The issue itself is connected to a customer Asset object via a issue asset custom field. This customer then has one or multiple environment, another linked Asset object. These are test and production environments.
- When a upgrade project is finished, transitioned to DONE, the productive customer environment gets updated with the upgrade version manually within the right asset object.
Ideal automated scenario:
- Instead of having to manually update the right customer environment asset object with the upgrade version, which is already available in the upgrade project issue, it should happen automatically once the issue gets transitioned to DONE.
Prerequisite:
- We do have the values that need to be automatically updated like the upgraded version, the productive environment, and which modules
- We do have a connection from the issue to the customer asset object that is then connected to the customer environment asset object.
Question:
- Is this somehow technically possible to automate this with the JSM cloud?
- Is there any automation rule that can be created that achieves the goal in automated the described situation?
- Is there a way with API / webhook/ scripting (scriptrunner) to achieve a solution for this topic?
I know this is complex, thus I really appreciate any input for this situation. Thanks in advance!
Best regards,
Simon
Hi @Simon Sahli
What you described is doable using Automation smart values - Assets
Example:
Hope this helps!
Best regards
Sam
Hi @Samuel Gatica _ServiceRocket_
it does indeed help and I came further with the solution, thank you already for that.
I have though two follow-up questions:
This is the setup in the Asset scheme
Thanks a lot for your help!
Best,
Simon
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Any idea if what I want to do is technically possible from anyone?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Simon Sahli
In the automation example, the "Server" field is the Asset object, from the issue you can access any of the attributes using smart values
Using the same smart values you can update other Asset objects using the Edit Object action in Automation.
Best regards
Sam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
It took me a while, but actually even easier than I thought.
I could use the "Edit Asset field attribute" action as follows to overwrite the Asset attribute value with the updated version of the right customer environment.
I didn´t get that one can use the "Edit Asset field attribute" action to update the Asset attribute value of the Asset object. I thought this will only update the Asset value on the issue, but not the actual data within the Assets.
In hindsight this makes sense now, but I guess this is always the case.
Thanks and I hope this will help some other of the community as well!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.