I have been trying to add the reporter based on the manager field after the creation of a ticket.
Testing this running a manual triggered automation.
in the reporter field I used:
{{Manager.customfieldID}} But this didn't work and I tried to use {{issue.Manager.customerfieldID}}
What am I missing here. Do I need to add a string?
As of now it runs the automation but adds(Anonymous) to the reporter.
Hi Aaron.
If you can use this url (along with a chrome plug in called JSONVue, or any other JSON viewer) you can see what smart value you should use. (replace your instance name and issue key). I use this all the time when I am creating/using smart values.
https://{your instance name}/rest/api/2/issue/{issue key}?expand=names
In the screen shot below, I am looking for the status text of the issue that I am on (DVS-21). When using JsonVue plugin, I can roll over the value and it displays the full path to the smart value in the bottom left hand corner (fields.status.name). So my smart value would be {{issue.fields.status.name}}. If you can't get JsonVu, use another Json viewer and collapse and expand the tree and walk down the dotted path (fields -> status -> name).
Maybe I should asked how do I display the value of the user from Manager field to Reporter?
So if I am the Manager I need that to be added to the Reporter? But it has to be for each issue the manager then becomes reporter with automation.
Also I can't use a chrome add-on without security review so that is out of the question at this time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I figured it out you have to use:
{{issue.customfield_ID}} in the reporter field. I also backed this up with advance compared condition.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Glad to hear 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.
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.