Did anyone ever find a way to get the request-channel-type into a post function? I have a script that is intended to take the description field and parse it to set fields. I sent clients an email template to follow and it works perfectly but, when clients create issues through the portal or we create issues internally then the description is getting stripped out.
You should be able to amend the Service Desk workflow so that on Issue Creation, the custom field is updated with the value you choose. This is by way of setting a Post Function on the Issue Creation action - I believe the option is to "Update Issue Custom Field".
You may be able to leverage the request-channel-type property somehow. We use it in JQL (substitute portal for email of course)
issue.property[request.channel.type].value = portal
There is another question that references the property being used on creation in groovy scripts, something I have no experience with but you also may find more helpful.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
...+ reading Fantasy). The same is true for him at the bank he works for: Efficiency is key when time literally equals money. Read on to learn how Sergey makes most of the time he has by...
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!
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