Date: Thu, 28 Mar 2024 10:49:19 +0000 (UTC) Message-ID: <1104480658.31.1711622959801@ced8dbd76f3f> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_30_49670701.1711622959800" ------=_Part_30_49670701.1711622959800 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
ST= EP-1
Go to Jira project configuration ** In Workflows tab Click EDIT Icon.
In Post Functions tab section, Click Add Post Function.
STEP-2
Choose HTTP Request API Invoke Function and Click Add.
STEP-3
Configure Post Function and Click Add.
Here is example to use Issue fields in JSON payload:
{ "tracking": "{issuekey}", "team": "{customfield_10201}", "customer": "{customfield_10200}", "release": "{fixversions}", "owner": "{assignee}" }
Note. You can find custom field ID at, Issues > Custom Fields > Cl= ick Edit > You will find in URL.
Supported System fields:
summary= , description, key or issuekey, type or issuetype, status, priority, components, labels, fixversions, affectsversions, assignee, reporter, environment
To generate basic access token with username and password:
$ pytho= n >>> import base64 >>> string =3D 'username:password' >>> data =3D base64.b64encode(string.encode()) >>> print(data) b'ZGF0YSB0byBiZSBlbmNvZGVk' >>> //your basic access token: ZGF0YSB0byBiZSBlbmNvZGVk
STEP-4
Review and Click Publish.
STEP-5
Transition Issue and verify if HTTP Request triggered with response noti= fication in issue comment.