I'm terribly stuck for 2 days on this. I have the below list from an api and want to print from tower with something more readable for the enduser. It should be something like a list of switches(infraAccPortP.attributes.name) and if there is a children list then a dict with key of infraHPortS.attributes.name and value infraPortBlk.attributes.fromPort
this is my first attempt at using ansible to retrieve data and manipulate it, I usually just use it to build stuff...thats easier it seems
"result.imdata": [
{
"infraAccPortP": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"dn": "uni/infra/accportprof-101_102",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-10T14:18:01.362+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "101_102",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"status": "",
"uid": "15374"
}
}
},
{
"infraAccPortP": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"dn": "uni/infra/accportprof-101",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-10T14:18:01.775+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "101",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"status": "",
"uid": "15374"
},
"children": [
{
"infraHPortS": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-16T23:09:40.856+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "test",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"rn": "hports-test-typ-range",
"status": "",
"type": "range",
"uid": "23110"
},
"children": [
{
"infraPortBlk": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"fromCard": "1",
"fromPort": "12",
"lcOwn": "local",
"modTs": "2020-09-16T23:09:40.856+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "block2",
"nameAlias": "",
"rn": "portblk-block2",
"status": "",
"toCard": "1",
"toPort": "12",
"uid": "23110"
}
}
}
]
}
},
{
"infraHPortS": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-16T13:33:07.108+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "101_fex",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"rn": "hports-101_fex-typ-range",
"status": "",
"type": "range",
"uid": "23110"
},
"children": [
{
"infraRsAccBaseGrp": {
"attributes": {
"annotation": "",
"childAction": "",
"extMngdBy": "",
"fexId": "101",
"forceResolve": "yes",
"lcOwn": "local",
"modTs": "2020-09-16T13:33:07.108+00:00",
"monPolDn": "uni/fabric/monfab-default",
"rType": "mo",
"rn": "rsaccBaseGrp",
"state": "formed",
"stateQual": "none",
"status": "",
"tCl": "infraFexBndlGrp",
"tDn": "uni/infra/fexprof-101_fex/fexbundle-101_fex",
"tType": "mo",
"uid": "23110"
}
}
}
]
}
}
]
}
},
{
"infraAccPortP": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"dn": "uni/infra/accportprof-102",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-10T14:18:02.163+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "102",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"status": "",
"uid": "15374"
},
"children": [
{
"infraHPortS": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-16T18:30:37.333+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "test",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"rn": "hports-test-typ-range",
"status": "",
"type": "range",
"uid": "23110"
},
"children": [
{
"infraPortBlk": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"fromCard": "1",
"fromPort": "7",
"lcOwn": "local",
"modTs": "2020-09-16T18:30:37.333+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "block2",
"nameAlias": "",
"rn": "portblk-block2",
"status": "",
"toCard": "1",
"toPort": "7",
"uid": "23110"
}
}
}
]
}
},
{
"infraHPortS": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"lcOwn": "local",
"modTs": "2020-09-11T15:26:44.501+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "9k_b25b_1-32",
"nameAlias": "",
"ownerKey": "",
"ownerTag": "",
"rn": "hports-9k_b25b_1-32-typ-range",
"status": "",
"type": "range",
"uid": "23110"
},
"children": [
{
"infraPortBlk": {
"attributes": {
"annotation": "",
"childAction": "",
"descr": "",
"extMngdBy": "",
"fromCard": "1",
"fromPort": "48",
"lcOwn": "local",
"modTs": "2020-09-11T15:26:44.501+00:00",
"monPolDn": "uni/fabric/monfab-default",
"name": "block2",
"nameAlias": "",
"rn": "portblk-block2",
"status": "",
"toCard": "1",
"toPort": "48",
"uid": "23110"
}
}
}
]
}
}
]
}
}
]
}
Expected results would look something like:
switch: 101
ports:
- srvName: test
port: 12
- srvName: test2
port:13
switch: 102
ports:
- srvName: test3
port: 12
- srvName: test4
port:13
Q: "List of switches(infraAccPortP.attributes.name)"
A: The task below
- debug:
msg: "{{ result.imdata|json_query('[].*.*.name')|flatten }}"
gives
msg:
- '101_102'
- '101'
- '102'
Related
When i am passing the userName as a variable inside data key in the below request then not able to fetch the value. I got the userName in the Login request response. Here UserName and playerName are the same.
Login Request:
42[
"get_login",
{
"key": "AUEEW891WL",
"socketId":"${sid}",
"username": "",
"avatar": "",
"language": "en",
"playerMove": "",
"joinGame": "",
"replay": 0,
"gameID": 0,
"gameNo": 0,
"data": "&email=llk${counter5}#gmail.com&password=poker",
"players": 0,
"level": "",
"lastAction": "",
"game": "",
"playMoney": 1,
"role": ""
}
]
Response:
42[
"gotLogin",
{
"response": {
"playerId": 25601,
"totalWin": 0,
"points": 0,
"playerName": "673508846384",
"displayName": "llk45",
"playerRank": "Amateur",
"playerBank": "11K",
"playerBankAmount": 11000,
"playerAvatar": "avatar1.jpg",
"playerEmail": "llk45#gmail.com",
"playerLevel": 1,
"playerLevelStr": "Lvl. 1",
"playerLevelPrg": 0,
"playerLevelPoints": 100,
"playerGold": 0,
"playerDealerId": 1,
"playerFbId": "",
"loadVocab": "",
"dailyBonus": 0,
"token": "0a5260592b6efc02d3102c639eac0f60d91ad7de8bf57fa114da179f05bcfa84",
"ip": "182.74.4.226",
"interface": {
"home": [
{
"buttonTitle": "Casino",
"buttonIcon": "casino-icon",
"buttonAction": {
"type": "function",
"name": "loadLobby"
}
},
{
"buttonTitle": "Leagues",
"buttonIcon": "leagues-icon",
"buttonAction": {
"type": "function",
"name": "loadLobby"
}
},
{
"buttonTitle": "Clubs",
"buttonIcon": "clubs-icon",
"buttonAction": {
"type": "function",
"name": "loadLobby"
}
},
{
"buttonTitle": "Cashier",
"buttonIcon": "cashier-icon",
"buttonAction": {
"type": "panel",
"name": "pnlChipStore"
}
},
{
"buttonTitle": "Settings",
"buttonIcon": "settings-icon",
"buttonAction": {
"type": "panel",
"name": "pnlSettings"
}
},
{
"buttonTitle": "Notifications",
"buttonIcon": "notifications-icon",
"buttonAction": {
"type": "panel",
"name": "pnlLevel"
}
}
]
},
"playerCountry": "IN",
"role": 1
}
}
]
Request:
42[
"create_game",
{
"key": "AUEEW891WL",
"socketId":"${sid}",
"username": ${userName}",
"avatar": "avatar17.jpg",
"language": "en",
"playerMove": "",
"joinGame": "",
"replay": 0,
"gameID": 0,
"gameNo": 0,
"data": "&gameID=undefined&game=texas&playMoney=1&gameStyle=private-cashgame&tableName=llkTable${counter1}&rakeRate=0&speed=60&sb=10&bb=20&tablelow=100&tablelimit=1000&videorequired=false&username=${userName}",
"players": 0,
"level": 347,
"lastAction": "",
"game": "",
"playMoney": 1,
"role": "1",
"token":"${token}",
"playerId":"${playerId}"
}
]
Response Request:
42[
"create_game",
{
"key": "AUEEW891WL",
"socketId":"TRV8Rm_jtsqn_BBFAAiM",
"username": "673508846384",
"avatar": "avatar17.jpg",
"language": "en",
"playerMove": "",
"joinGame": "",
"replay": 0,
"gameID": 0,
"gameNo": 0,
"data": "&gameID=undefined&game=texas&playMoney=1&gameStyle=private-cashgame&tableName=llkTable47&rakeRate=0&speed=60&sb=10&bb=20&tablelow=100&tablelimit=1000&videorequired=false&username="673508846384",
"players": 0,
"level": 347,
"lastAction": "",
"game": "",
"playMoney": 1,
"role": "1",
"token":"0a5260592b6efc02d3102c639eac0f60d91ad7de8bf57fa114da179f05bcfa84",
"playerId":"25601"
}
]
Here is the screenshot:
enter image description here
How can i pass this value in the create game request inside the data key to fetch it?
If your ${userName} variable has value (i.e. it was set via User Defined Variables or comes from a Post-Processor or it's from the CSV Data Set Config) - JMeter will send the value in the request.
If the variable doesn't have the value - JMeter will send ${userName}
So double check that the ${userName} variable:
Exists
Has its respective value
It can be done using Debug Sampler and View Results Tree listener combination.
I'm trying to build a REST api in Spring Boot and I'm in a dilemma regarding the Request Body.
If an entity, ex. Doctor has a subentity let's say a specialization, should I pass only the id of the specialization or the entire entity.
First case
{
"contractId": 1,
"user": {
"firstname": "",
"lastname": "",
"email": "",
"phoneNumber": "",
"username": "",
"password": "",
"gender": "",
},
"roleId": 1,
"specializations": [
{
"id": 1
},
{
"id": 2
}
],
"qualifications": [
{
"id": 1
},
{
"id": 2
}
]
}
second case
{
"contractId": 1,
"user": {
"firstname": "",
"lastname": "",
"email": "",
"phoneNumber": "",
"username": "",
"password": "",
"gender": "",
},
"roleId": 1,
"specializations": [
{
"id": 1,
"name": "Specialization_1"
}
],
"qualifications": [
{
"id": 1,
"name": "Qualification_1"
},
{
"id": 2,
"name: "Qualification_2"
}
]
}
if you know the Id before making this call and the id is always binded to certain specialization, then yes, only Id should be enough
I have a nested hash and I am able to iterate it and print the section and the field values from the hash. I'm trying to iterate over this nested hash to create a steps guide, I want to create a file with the information and the output file to have the output written like:
steps_guide [section]elemento1 [section]elemento2 [section]elemento3
steps_guide [section]elemento2 [section]elemento3 [section]elemento4
....
steps_guide [section]radio [section]xenon [section]aluminio
steps_guide [section]xenon [section]aluminio [section]boro
If a section name is duplicated in other elementos I only need to print something like:
steps_guide expected_[section_duplicated]elemento1 [section]elemento2 [section]elemento3
and not print that section again and print the next element, and this for all the nested hash. Here is the source data.
_Data =[
{
"name": "script",
"elements": [
{
"name": "unknown group",
"headers": {
"map": {}
},
"agent": "",
"bottom_comments": [],
"checks": [
{
"title": "",
"field": "elemento1",
"section": "control_psd",
"value": "0",
},
{
"title": "",
"field": "elemento2",
"section": "control_psd",
"value": "0",
},
{
"title": "",
"field": "elemento3",
"section": "control_ptt",
"value": "0",
},
{
"title": "",
"field": "elemento4",
"section": "control_save",
"value": "0",
},
{
"title": "",
"section": "control_relay",
"field": "elemento5",
"value": "0",
},
{
"title": "",
"section": "control_relay",
"field": "elemento6",
"value": "1",
},
{
"title": "",
"section": "control_reply",
"field": "elemento7",
"value": "1",
},
{
"title": "",
"section": "plc_status",
"field": "elemento8",
"value": "1",
},
{
"title": "",
"section": "plc_status",
"field": "elemento9",
"value": "1",
},
{
"title": "",
"section": "plc_value",
"field": "elemento10",
"value": "0",
},
{
"type": "condiciones",
"elementos": [
{
"table": [
{
"title": "",
"section": "regresion",
"name": "radio",
},
{
"title": "",
"section": "regresion",
"name": "xenon",
},
{
"title": "",
"section": "update",
"name": "aluminio",
},
{
"title": "",
"section": "cont",
"name": "boro",
},
{
"title": "",
"section": "container",
"name": "oro",
},
{
"title": "",
"section": "after",
"name": "bromo",
},
{
"title": "",
"section": "after",
"name": "oxigeno",
}
]
}
]
}
]
}
]
}
]
I am setting up API calls to get Squarespace ecommerce products/customers/orders into Mailchimp. I specifically need the transactions to show up in the 'Activity Feed' on a customer's account, but I haven't found any documentation or answers on how to do this. The orders are adding to the 'Total Revenue' box, but not showing up on the activity feed. Screenshot attached.
So far I've fiddled around with several options in Postman. I'm trying to figure out how to make the call work before I integrate it into the rest of my code. I've read through all of the ecommerce documentation on MailChimp's site. The orders documentation is linked below.
https://mailchimp.com/developer/reference/ecommerce-stores/ecommerce-orders/
Here's what I'm sending via Postman:
Post URL: https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders
Body: {"id": "SAROrd000003",
"customer": {"id": "SAR000001"},
"currency_code": "USD",
"order_total": "50.00",
"lines": [{"id": "misc", "product_id": "misc", "product_variant_id":"none","quantity":1,"price":"50.00"}]
}
Here's the response I'm getting from Postman
{
"id": "SAROrd000003",
"customer": {
"id": "SAR000001",
"email_address": "sargent.jessica.b#gmail.com",
"opt_in_status": false,
"company": "",
"first_name": "",
"last_name": "",
"orders_count": 3,
"total_spent": 150,
"address": {
"address1": "",
"address2": "",
"city": "",
"province": "",
"province_code": "",
"postal_code": "",
"country": "",
"country_code": ""
},
"created_at": "2019-11-27T00:52:34+00:00",
"updated_at": "2019-11-27T02:38:51+00:00",
"_links": [
{
"rel": "self",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/customers/SAR000001",
"method": "GET",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json"
},
{
"rel": "parent",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/customers",
"method": "GET",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/CollectionResponse.json"
},
{
"rel": "update",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/customers/SAR000001",
"method": "PATCH",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json",
"schema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PATCH.json"
},
{
"rel": "upsert",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/customers/SAR000001",
"method": "PUT",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/Response.json",
"schema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Customers/PUT.json"
},
{
"rel": "delete",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/customers/SAR000001",
"method": "DELETE"
}
]
},
"store_id": "test_store",
"campaign_id": "",
"landing_site": "",
"financial_status": "",
"fulfillment_status": "",
"currency_code": "USD",
"order_total": 50,
"order_url": "",
"discount_total": 0,
"tax_total": 0,
"shipping_total": 0,
"tracking_code": "",
"processed_at_foreign": "",
"cancelled_at_foreign": "",
"updated_at_foreign": "",
"shipping_address": {
"name": "",
"address1": "",
"address2": "",
"city": "",
"province": "",
"province_code": "",
"postal_code": "",
"country": "",
"country_code": "",
"longitude": 0,
"latitude": 0,
"phone": "",
"company": ""
},
"billing_address": {
"name": "",
"address1": "",
"address2": "",
"city": "",
"province": "",
"province_code": "",
"postal_code": "",
"country": "",
"country_code": "",
"longitude": 0,
"latitude": 0,
"phone": "",
"company": ""
},
"lines": [
{
"id": "misc",
"product_id": "misc",
"product_title": "misc",
"product_variant_id": "none",
"product_variant_title": "none",
"quantity": 1,
"price": 50,
"discount": 0,
"_links": [
{
"rel": "self",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003/lines/misc",
"method": "GET",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json"
},
{
"rel": "parent",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003",
"method": "GET",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/CollectionResponse.json"
},
{
"rel": "update",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003/lines/misc",
"method": "PATCH",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/Response.json",
"schema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Lines/PATCH.json"
},
{
"rel": "delete",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003/lines/misc",
"method": "DELETE"
}
]
}
],
"_links": [
{
"rel": "self",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003",
"method": "GET",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json"
},
{
"rel": "parent",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders",
"method": "GET",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/CollectionResponse.json"
},
{
"rel": "update",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003",
"method": "PATCH",
"targetSchema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/Response.json",
"schema": "https://us12.api.mailchimp.com/schema/3.0/Definitions/Ecommerce/Stores/Orders/PATCH.json"
},
{
"rel": "delete",
"href": "https://us12.api.mailchimp.com/3.0/ecommerce/stores/test_store/orders/SAROrd000003",
"method": "DELETE"
}
]
}
I spoke with someone on their API team. submitting an order date in ISO-8601 format into the "processed_at_foreign" param solved the problem.
We have JIRA triggering Jenkins builds using jira-trigger plugin of Jenkins. AS of yesterday(2019-07-10) it was all working but today it is not triggering any builds.
I have enabled following logging (to all) in Jenkins and checked the logs
*com.ceilfors.jenkins.plugins.jiratrigger.*
com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook
com.ceilfors.jenkins.plugins.jiratrigger.JiraCommentTrigger
com.ceilfors.jenkins.plugins.jiratrigger.JiraTrigger
com.ceilfors.jenkins.plugins.jiratrigger.JiraTriggerExecutor*
I could see Jira webhook is sending valid JSON and same is failing at Jenkins stating this error: org.codehaus.jettison.json.JSONException: JSONObject["name"] not found.
Error while serving https://localhost/jira-trigger-webhook-receiver/
org.codehaus.jettison.json.JSONException: JSONObject["name"] not found.
at org.codehaus.jettison.json.JSONObject.get(JSONObject.java:360)
at org.codehaus.jettison.json.JSONObject.getString(JSONObject.java:487)
at com.atlassian.jira.rest.client.internal.json.JsonParseUtil.parseBasicUser(JsonParseUtil.java:192)
at com.atlassian.jira.rest.client.internal.json.CommentJsonParser.parse(CommentJsonParser.java:37)
at com.atlassian.jira.rest.client.internal.json.CommentJsonParser$parse.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.WebhookCommentEventJsonParser.parse(WebhookCommentEventJsonParser.groovy:40)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.WebhookCommentEventJsonParser$parse.call(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.processEvent(JiraWebhook.groovy:71)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook$processEvent.callCurrent(Unknown Source)
at com.ceilfors.jenkins.plugins.jiratrigger.webhook.JiraWebhook.doIndex(JiraWebhook.groovy:51)
at java.lang.invoke.MethodHandle.invokeWithArguments(MethodHandle.java:627)
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:396)
Caused: java.lang.reflect.InvocationTargetException
at org.kohsuke.stapler.Function$MethodFunction.invoke(Function.java:400)
at org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:408)
at org.kohsuke.stapler.interceptor.RequirePOST$Processor.invoke(RequirePOST.java:77)
at org.kohsuke.stapler.PreInvokeInterceptedFunction.invoke(PreInvokeInterceptedFunction.java:26)
at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:212)
at org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:145)
at org.kohsuke.stapler.IndexDispatcher.dispatch(IndexDispatcher.java:27)
JSON Received:
{
"timestamp": 1562845569917,
"webhookEvent": "comment_created",
"comment": {
"self": "https://my.atlassian.net/rest/api/2/issue/12815/comment/19186",
"id": "19186",
"author": {
"self": "https://my.atlassian.net/rest/api/2/user?accountId=1234567890",
"accountId": "1234567890",
"emailAddress": "\"?\"",
"avatarUrls": {
"48x48": "https://alocal.net/initials/PM-1.png?size=48&s=48",
"24x24": "https://alocal.net/initials/PM-1.png?size=24&s=24",
"16x16": "https://alocal.net/initials/PM-1.png?size=16&s=16",
"32x32": "https://alocal.net/initials/PM-1.png?size=32&s=32"
},
"displayName": "admin",
"active": true,
"timeZone": "Asia/Calcutta",
"accountType": "atlassian"
},
"body": "deploy_staging",
"updateAuthor": {
"self": "https://my.atlassian.net/rest/api/2/user?accountId=1234567890",
"accountId": "1234567890",
"emailAddress": "\"?\"",
"avatarUrls": {
"48x48": "https://alocal.net/initials/PM-1.png?size=48&s=48",
"24x24": "https://alocal.net/initials/PM-1.png?size=24&s=24",
"16x16": "https://alocal.net/initials/PM-1.png?size=16&s=16",
"32x32": "https://alocal.net/initials/PM-1.png?size=32&s=32"
},
"displayName": "admin",
"active": true,
"timeZone": "Asia/Calcutta",
"accountType": "atlassian"
},
"created": "2019-07-11T17:16:09.917+0530",
"updated": "2019-07-11T17:16:09.917+0530",
"jsdPublic": true
},
"issue": {
"id": "12815",
"self": "https://my.atlassian.net/rest/api/2/issue/12815",
"key": "DEVOPS-160",
"fields": {
"summary": "Deploy - Test",
"issuetype": {
"self": "https://my.atlassian.net/rest/api/2/issuetype/10081",
"id": "10081",
"description": "",
"iconUrl": "https://my.atlassian.net/secure/viewavatar?size=medium&avatarId=10304&avatarType=issuetype",
"name": "Deployment",
"subtask": false,
"avatarId": 10304
},
"project": {
"self": "https://my.atlassian.net/rest/api/2/project/10032",
"id": "10032",
"key": "DEVOPS",
"name": "Test Ops",
"projectTypeKey": "software",
"simplified": false,
"avatarUrls": {
"48x48": "https://my.atlassian.net/secure/projectavatar?pid=10032&avatarId=10517",
"24x24": "https://my.atlassian.net/secure/projectavatar?size=small&s=small&pid=10032&avatarId=10517",
"16x16": "https://my.atlassian.net/secure/projectavatar?size=xsmall&s=xsmall&pid=10032&avatarId=10517",
"32x32": "https://my.atlassian.net/secure/projectavatar?size=medium&s=medium&pid=10032&avatarId=10517"
},
"projectCategory": {
"self": "https://my.atlassian.net/rest/api/2/projectCategory/10006",
"id": "10006",
"description": "Operations",
"name": "Operations"
}
},
"assignee": {
"self": "https://my.atlassian.net/rest/api/2/user?accountId=1234567890",
"name": "phani.k",
"key": "phani.k",
"accountId": "1234567890",
"emailAddress": "phani.k#synup.com",
"avatarUrls": {
"48x48": "https://alocal.net/1234567890/dfe77db8-e320-4c3e-a074-3d79892a5c6d/128?size=48&s=48",
"24x24": "https://alocal.net/1234567890/dfe77db8-e320-4c3e-a074-3d79892a5c6d/128?size=24&s=24",
"16x16": "https://alocal.net/1234567890/dfe77db8-e320-4c3e-a074-3d79892a5c6d/128?size=16&s=16",
"32x32": "https://alocal.net/1234567890/dfe77db8-e320-4c3e-a074-3d79892a5c6d/128?size=32&s=32"
},
"displayName": "admin",
"active": true,
"timeZone": "Asia/Kolkata",
"accountType": "atlassian"
},
"priority": {
"self": "https://my.atlassian.net/rest/api/2/priority/3",
"iconUrl": "https://my.atlassian.net/images/icons/priorities/medium.svg",
"name": "Medium",
"id": "3"
},
"status": {
"self": "https://my.atlassian.net/rest/api/2/status/10118",
"description": "Run all feasibility checks",
"iconUrl": "https://my.atlassian.net/",
"name": "In Progress",
"id": "10118",
"statusCategory": {
"self": "https://my.atlassian.net/rest/api/2/statuscategory/4",
"id": 4,
"key": "indeterminate",
"colorName": "yellow",
"name": "In Progress"
}
}
}
}
}