How can I set customer request type when an issue is created within the JIRA channel?

I would like to set the request type to match the issue type for issues reported through the JIRA channel. Our customers would want to see all issues reported whether by agent or through the portal. When I try to add Customer Request Type in the automation tool it says it cannot do it. Is there a way to set the jql to set that field?

3 answers

I also need to set the Organizations field so that when an agent puts a ticket in for a client as the reporter, it will insert their Organization. I tried

{
    "fields": {
        "customfield_10002" : "Organization Value"
    }
}

 

And it says successful on the edit, but didnt set anything. Please, all help is appreciated.

0 vote
Scott Harwood Community Champion Jun 18, 2017

Hi Stephen,

Unfortunately for the time being there is no way to set the customer request type field. This is a limitation imposed on us by the JIRA rest api. We have raised in issue with JIRA to get this fixed (https://ecosystem.atlassian.net/browse/JSDECO-36), but unfortunately our hands are tied until that happens.

You can set the organization field, but you need to use its id (which is a bit ugly) 

"fields": {
    "Organizations": [1]
 }

To get the id, you can navigate to the organisation and it appears at the end of the url.

id.png

Hope that helps.

Scott

 

That did work!! Is there a way to set it based upon the reporters organization value? So if a reporter is in the organization, set it to that?

Scott Harwood Community Champion Jun 19, 2017

Unfortunately not. I think it would be a great feature though, I have raise an issue for it. https://codebarrel.atlassian.net/browse/AUT-393

Thanks,
Scott

 

Is there a way to set it to another fields value? Example: I have another field named organization that is coming from a database, can I set this organization to the value of that field, knowing they will always match?

Do you have any insight on my last reply? Would I need to write custom code, or use a different plugin?

Is there a way to set it to the value of another field? I have the proper Organization in a database field, and I would like to set it to that if possible

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Tuesday in Marketplace Apps

If you’re an Atlassian app developer, you’ll want to know about Atlas Camp!

This September 6-7, hundreds of Atlassian App developers will flock to Barcelona Spain to build skills, discover product roadmaps, meet face-to-face with the Atlassian team, and learn how to extend t...

125 views 0 4
Read article

Atlassian User Groups

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!

Find my local user group

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

Groups near you