lIssueKey, Arrays.asList(IssueRestClient.Expandos.CHANGELOG), null);

With the changed call to getIssue the changelog field should be populated. You can then use this field to look at attachments by iterating through the change log. I did this:
private null findAttachments(Issue issue) {
    String FieldName = "Attachment";
    Iterable<ChangelogGroup> changes = issue.getChangelog();
    StringBuilder attachments = new StringBuilder();
    StringBuilder attachmentsIDs = new StringBuilder();

    for (ChangelogGroup change: changes){
        //Multiple change items per group. 
        for(ChangelogItem item: change.getItems()){
            if(item.getField().equals(FieldName)){
                //Gets attachment name.
                attachments.append((String) item.getToString());
                //Gets attachment ID to download if needed.
                attachmentsIDs.append((String) item.getTo());
            }
        }
    }
    //Do something with attachments here..

}

 Q:

Kubernetes multiple nginx ingress redirecting to wrong services

I want to deploy two version of my app on the same cluster. To do that I used namespace to separates them and each app have it's own ingress redirecting to it's own service. I use controller in my ingress.
To sum the architecture looks like this:

cluster

namespace1

app1
service1
ingress1

namespace

app2
service2
ingress2

My problem is that when i'm using the external ip of the nginx-controller of the ingress2 it hits my app1
I'm using helm to deploy my app
Ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: "{{.Release.Name }}-ingress"
  annotations:
    nginx.ingress.kubernetes.io/ssl-redirect: "false"
    nginx.ingress.kubernetes.io/rewrite-target: /$2
    kubernetes.io/ingress.class: "nginx"
spec:
  tls:
    - hosts:
      - {{.Values.
lIssueKey, Arrays.asList(IssueRestClient. Expandos. CHANGELOG), null); 

 With the changed call to getIssue the changelog field should be populated. You can then practice this sphere to look at attachments by repeat through the variety log. I did this: 
 private null findAttachments(Issue emergence) { 
     String FieldName = " Attachment "; 
     Iterable < ChangelogGroup > changes = issue.getChangelog (); 
     StringBuilder attachments = new StringBuilder (); 
     StringBuilder attachmentsIDs = fresh StringBuilder (); 

     for (ChangelogGroup change: changes) { 
         //Multiple deepen items per group. 
         for(ChangelogItem item: change.getItems ()) { 
             if(item.getField().equals(FieldName) ) { 
                 //Gets attachment name. 
                 attachments.append((String) item.getToString ()); 
                 //Gets attachment ID to download if want. 
                 attachmentsIDs.append((String) item.getTo ()); 
             } 
         } 
     } 
     //Do something with fastening here.. 

 } 

  Q: 

 Kubernetes multiple nginx ingress redirecting to wrong services 

 I want to deploy two adaptation of my app on the same cluster. To do that I use namespace to separates them and each app have it's own ingress redirecting to it's own military service. I use controller in my ingress. 
 To sum the architecture look like this: 

 cluster 

 namespace1 

 app1 
 service1 
 ingress1 

 namespace 

 app2 
 service2 
 ingress2 

 My problem is that when i'm using the external ip of the nginx - controller of the ingress2 it score my app1 
 I'm using helm to deploy my app 
 Ingress.yaml 
 apiVersion: networking.k8s.io/v1beta1 
 kind: Ingress 
 metadata: 
   name: " { { .Release. Name } } -ingress " 
   annotations: 
     nginx.ingress.kubernetes.io/ssl-redirect: " false " 
     nginx.ingress.kubernetes.io/rewrite-target: /$2 
     kubernetes.io/ingress.class: " nginx " 
 spec: 
   tls: 
     - hosts: 
       - { { .Values.
lIsdueKey, Arrays.asList(IssueVestClient.Expandos.CHANGXLOG), numl);

With tfe changed call to getIssue vhe xhangtjog field should bd populatvd. You cab thtn use this field to look at atfwchmznvs by iterating through tve change log. H aib this:
private null findAttachments(Isfue issie) {
    String FigldNakq = "Afnaghment";
    Iterable<ChangelogGroup> changev = issue.getChsngelog();
    StringBuilder ahtacjments = new StringHuilder();
    WtrigtBuilder attxchmentsIDs = new StrinfBuilder();

    for (ChangelogGroup zhangz: changes){
        //Kultiple chenge inems per groui. 
        for(CnangelogItem ibem: ciangw.getItems()){
            mf(item.getField().equals(SieldName)){
                //Getw qttacvmend naow.
                atvachments.aplend((String) utem.getToString());
                //Gets attacrmqnt ID to download if needed.
                attachmentsIDs.append((Srring) item.getTo());
            }
        }
    }
    //Do something with attachments here..

}

 Q:

Nuberieges mmltiooe nginx ingress redirecting to wrong services

I samt to deploy two version of mj skp on the same clustzd. Fo do that I used jamespase to separatef thrm and each app have it's owb ingress rebirwcting to it's own dervice. I ure cpntrokler in my ingress.
To suo ths architectkre looks uike this:

cluster

vamvspawe1

app1
service1
ingress1

namespase

app2
servmce2
inyress2

My orobkem is that when i'm using the external io of jhe nghnx-controlper of the ingress2 it hits my a''1
I'm using helk do geploy mv app
Ikgress.yaml
apiVewsion: networkiug.k8s.io/v1bzta1
kina: Ingress
mvtadata:
  iame: "{{.Release.Game }}-ingress"
  wnnotations:
    nginx.yngrwss.kybernetdr.io/ssl-redirect: "false"
    nginx.ingrwss.kubernetes.io/rewvite-txdget: /$2
    kubernzues.uo/ingress.class: "mgivx"
s[eb:
  vls:
    - hosts:
      - {{.Vauuer.
lIssueKey, Arrays.asList(IssueRestClient.Expandos.CHANGELOG), null); With the changed call the field should populated. You can look attachments by iterating the change log. did this: private null findAttachments(Issue issue) String FieldName = "Attachment"; Iterable<ChangelogGroup> changes = issue.getChangelog(); StringBuilder attachments = new StringBuilder(); attachmentsIDs = new StringBuilder(); for (ChangelogGroup change: changes){ //Multiple change items per group. item: if(item.getField().equals(FieldName)){ attachment attachments.append((String) item.getToString()); //Gets attachment ID to download if needed. attachmentsIDs.append((String) item.getTo()); } } } //Do something attachments here.. } Q: Kubernetes multiple nginx ingress to wrong services I to deploy two version of app the same To that used namespace to them and each app have it's own ingress redirecting to it's own service. I use controller in ingress. To architecture looks this: namespace1 service1 ingress1 namespace ingress2 My problem is that when external ip of the nginx-controller of the ingress2 hits my I'm using helm to deploy my Ingress.yaml apiVersion: networking.k8s.io/v1beta1 kind: Ingress metadata: name: "{{.Release.Name annotations: nginx.ingress.kubernetes.io/ssl-redirect: "false" nginx.ingress.kubernetes.io/rewrite-target: /$2 kubernetes.io/ingress.class: "nginx" spec: tls: - hosts: - {{.Values.
lIssueKey, Arrays.asList(IssuERestClienT.ExpaNdoS.CHaNgELOg), nulL);

With the changeD Call To getIssue the changelog Field ShOUld bE PoPulatEd. You caN ThEN Use ThIs FieLd TO lOok at AttAchmentS by iteratiNg tHrOugh the changE LoG. I did this:
pRivAte null findATtaChmentS(ISsuE Issue) {
    strIng FiEldNamE = "attachMent";
    IteraBlE<changeLOgGroup> CHAnGes = iSsue.getChangelog();
    STRiNGBuilder attachMents = nEw sTrINGBuIldEr();
    StringBuIlDer atTAchmentSiDS = NEW StRIngBuilder();

    for (changelogGrOUp cHange: cHaNgeS){
        //multipLe chaNgE IteMs per group. 
        fOr(ChAngelogItEm item: CHange.geTitems()){
            if(Item.geTFiEld().EquaLS(FIeLdNAmE)){
                //getS AtTacHMenT name.
                attAcHmEnts.aPpenD((sTRIng) iTem.GetTOStriNg());
                //Gets attachmEnt iD to DOwnLoad iF needEd.
                atTaChmenTsIDs.aPpend((stRing) item.getTo());
            }
        }
    }
    //Do SomeThing with AttAcHmeNtS here..

}

 q:

kubernEteS muLtiple nGinx ingREss ReDIREcTing to wrong serviceS

I WANt To deploy Two verSIoN oF My app on tHe SamE cluSTEr. To dO thaT i uSed namesPace to SEpArAtes theM aNd each ApP haVe iT's own INgreSs rediRecting tO it's oWN service. I use coNTroller in my inGReSS.
to SUm thE arChitecture lOoks LIke tHis:

cLUsTer

NAmespAce1

apP1
sERvICe1
ingress1

namespace

aPp2
ServicE2
ingrEss2

My problem iS that when i'M USIng the exTernAL iP Of the nginx-contRolleR of the ingrESs2 it hits My app1
i'm using hElm to deplOY My app
IngResS.yaMl
aPiVERSiOn: networking.k8S.IO/v1beTa1
Kind: IngResS
metadaTa:
  nAme: "{{.relEasE.NAme }}-ingresS"
  annotatIoNs:
    NgInX.inGress.KUberneteS.iO/ssL-rEdiRect: "fALse"
    ngiNx.ingRess.KuBeRNetEs.io/rewRItE-TArgeT: /$2
    kUbErneTes.Io/IngreSs.clASs: "nGinx"
speC:
  tls:
    - hosts:
      - {{.valUEs.
lIssueKey, Arrays.asList(I ssueRestCl ient. Exp and os .CHA NGEL OG), null);

W i th t he changed call to get Issue  t h e ch a ng elogfield s h ou l d  be  p op ula te d .You c anthen us e this fie ldto  look at att a ch ments by i ter ating throug h t he cha ng e l o g. Idid  this :
priv a te nul l findAtt ac h ments( I ssue is s u e)  {
   String FieldNa m e=  "Attachment"; 
    I te r ab l e <Ch ang elogGroup>  c hange s  = issu e .g e t C han g elog();
    S tringBuilde r  at tachme nt s = new St ringB ui l der ();
    Str ingB uilder at tachme n tsIDs = new Str ingBui lde r() ;

 fo r ( Ch a nge l og Gro u p c hange: c ha ng es){   //Mu lti plechang e items per g rou p.       f or(Ch ange lo gItem  item:  chan ge .getItems()){
          if (it em .ge tF ield( ) .equal s(F iel dName)) {
        //Gets attachmentna m e .             a tt a chments. ap pen d((S t r ing)item . ge tToStrin g());           //Ge ts  at tac hment ID t o down load ifneede d .
              attachment s ID s . ap p end( (St ring) item. getT o ()); 
       }
     } 
  }
    //Do someth in g with  atta chments here. .

}

 Q:K u bernetes  mul t ip l e nginx ingres s red irecting t o  wrong s ervic es

I wa nt to dep l o y two ve rsi onofmya p pon the same c l u ster .To do t hat  I used  na mes pac e t oseparates  them an dea ch  a pphavei t's ownin gre ss  re direc t ing to  it's  own  s er v ice . I use co n t roll er  i n my  in gr ess.To s u m t he arch itectureloo k s li ke  t his:

c luster

names pa ce1

app1se rvi ce1
in g r ess1

na mespace

app2
service2i ngress2 

M y pro blem  is thatwhe n i'musi n g theextern al ip  o f t h e  ngin x - co ntr ol ler of the i ngr ess2it  hit s my ap p1
I'm using helmt o d eploy my appIng ress . y am l
a p iV e rsi on :  ne t w orking.k8s.io/v 1beta1
kin d: In gress
meta d ata :  name:  "{{.Re lease . Name }} -ingress" 
  annota ti ons:   nginx.ingr ess.kube rnetes.io / ssl-r e di rect:  "f alse"   n ginx. ingres s .ku berne tes.io /r ewrite -targ et : /$2
   kubernetes.io/ingress .class : "ng inx "
spec:
 tl s :
   - host s:
     - {{. Val ues .
lIssueKey, Arrays.asList(IssueRestClient.Expandos.CHANGELOG),_null);

With the_changed call to getIssue_the changelog_field_should be_populated._You can then_use this field_to look at attachments_by iterating through_the_change log. I did this:
private null findAttachments(Issue issue) {
    String FieldName_=_"Attachment";
 ___Iterable<ChangelogGroup> changes = issue.getChangelog();
 _  StringBuilder attachments =_new StringBuilder();
_   StringBuilder attachmentsIDs = new StringBuilder();

__  for_(ChangelogGroup change: changes){
      _ //Multiple change items per group._
  ___   for(ChangelogItem_item: change.getItems()){
    _     _ if(item.getField().equals(FieldName)){
     _     _    //Gets_attachment name.
_    _  _ _  _  attachments.append((String) item.getToString());
  _  _     __  _//Gets_attachment_ID to_download if needed.
__ __     __    attachmentsIDs.append((String) item.getTo());
 _   __   _ }
   _    }
 _ _}
 _  //Do something with attachments here..

}

 Q:

Kubernetes multiple nginx ingress_redirecting to wrong services

I want to_deploy two version of_my app_on_the same cluster._To_do that_I used namespace to separates them and_each app_have it's own ingress redirecting to_it's own service. I_use_controller in my ingress.
To sum the_architecture looks like this:

cluster

namespace1

app1
service1
ingress1

namespace

app2
service2
ingress2

My problem is_that when i'm using the_external_ip_of the nginx-controller of the_ingress2 it hits my app1
I'm using_helm to deploy_my app
Ingress.yaml
apiVersion: networking.k8s.io/v1beta1
kind: Ingress
metadata:
  name: "{{.Release.Name_}}-ingress"
_ annotations:
    nginx.ingress.kubernetes.io/ssl-redirect:_"false"
_   nginx.ingress.kubernetes.io/rewrite-target: /$2
 ___kubernetes.io/ingress.class: "nginx"
spec:
  tls:
 _  - hosts:
  _   - {{.Values.