Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Create automatic tickets via gmail

Mônica Bohrer
November 13, 2022

Hello !
How are you?
I'm thinking of doing an integration between Jira and gmail.
We receive daily emails that are routines / reminders for tasks that need to be done. Is it possible to have some extension or API to make the system create these tasks automatically in some frame in jira?

It would need to be by subject/content of the email, because the same sender sends several emails to different teams.

2 answers

0 votes
Abdul Allautheen
January 29, 2018

Appreciate your answer Branden, however, I could understand how to use your suggestion as  I haven't used Rest API in the past . Any clues appreciated. Thanks in advance

 

Regards

Abdul

0 votes
somethingblue
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
January 26, 2018

Hi Abdul,

When you perform a search using the /rest/api/2/search endpoint you will get results that have a total such as the following:

{
  "expand": "names,schema",
  "startAt": 0,
  "maxResults": 50,
  "total": 1,
  "issues": [
    {
      "expand": "",
      "id": "10001",
      "self": "http://www.example.com/jira/rest/api/2/issue/10001",
      "key": "HSP-1"
    }
  ],
  "warningMessages": [
    "The value 'splat' does not exist for the field 'Foo'."
  ]
}

You could extract that value from your queries and use that in your filters.  Hopefully that helps.

Cheers,

Branden

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events